Project

General

Profile

Bug #367

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

Added by Jason Wroe almost 4 years ago. Updated over 3 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

#1

Updated by Francois Lionet almost 4 years ago

  • Status changed from New to Resolved
  • Assignee set to Francois Lionet
  • Target version set to 0.9.9.2

Fixed!

#2

Updated by Jason Wroe almost 4 years ago

  • Status changed from Resolved to Feedback

This is still not fixed in 0.9.9.2 Test 1

#3

Updated by Brian Flanagan over 3 years ago

  • Affected version changed from 0.9.9 to 0.9.9.3

Still broken in 0.9.9.3 Test 2.

#4

Updated by Brian Flanagan over 3 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.

#5

Updated by Brian Flanagan over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF