Closed roscopeco closed 11 years ago
When attempting to chain a method call on a parenthesized expression, the compiler fails with the error "Cannot chain void method".
Example code:
(2+3).times() { foo() }
This code generates the error.
It appears that this syntax is supported in the parser but incompletely implemented in the compiler itself.
Fixed for now. Revisit once Issue #11 is implemented.
When attempting to chain a method call on a parenthesized expression, the compiler fails with the error "Cannot chain void method".
Example code:
This code generates the error.
It appears that this syntax is supported in the parser but incompletely implemented in the compiler itself.