Actions
Bug #367
closedCompile error when directly calling a Procedure with more then 1 argument
Start date:
05/10/2020
Due date:
% Done:
0%
Estimated time:
Affected version:
Description
If you call a procedure with more then 1 argument directly there is a compile error eg :-
Procedure MyFunc[A, B]
c = A * B
End Proc[c]
Print MyFunc[2, 3]
Throws the error "Pass: 1 Cannot read property '0' of undefined as information.getOperand (information.js:425:74)
You can work round this by using the param return eg :-
Procedure MyFunc[A, B]
c = A * B
End Proc[c]
MyFunc[2, 3]
Print param
Updated by Francois Lionet over 4 years ago
- Status changed from New to Resolved
- Assignee set to Francois Lionet
- Target version set to 0.9.9.2
Fixed!
Updated by Jason Wroe over 4 years ago
- Status changed from Resolved to Feedback
This is still not fixed in 0.9.9.2 Test 1
Updated by Brian Flanagan over 4 years ago
- Affected version changed from 0.9.9 to 0.9.9.3
Still broken in 0.9.9.3 Test 2.
Updated by Brian Flanagan over 4 years ago
- Status changed from Feedback to Resolved
- Target version changed from 0.9.9.2 to 0.9.9.4
Apparently, this is now working in 0.9.9.4 rel1.
Updated by Brian Flanagan over 4 years ago
- Status changed from Resolved to Closed
Actions