Closed adamchalmers closed 3 months ago
Currently KCL parser cannot handle using function calls as operands.
e.g. this works:
let x = f() let y = x + 1
but this doesn't
let y = f() + 1
It should work, though!
This works, so maybe it was already fixed.
Huh we should make sure we have a test for it so it doesn't break
Currently KCL parser cannot handle using function calls as operands.
e.g. this works:
but this doesn't
It should work, though!