Syntax error with JS codegen

Issue #176 resolved
Christian-W. Budde created an issue

The below code:

procedure log(data: Variant); external 'console.log';

log(1 - sin(4) * Random);

results in

console.log(1--0.756802495307928 * Random())

Which is obviously invalid. It’s also invalid variable expressions instead of the constant 1.

Comments (1)

  1. Log in to comment