Project

General

Profile

Actions

Bug #367

closed

Compile error when directly calling a Procedure with more then 1 argument

Added by Jason Wroe over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
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

Actions #1

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!

Actions #2

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

Actions #3

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.

Actions #4

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.

Actions #5

Updated by Brian Flanagan about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF