Closed jvasileff closed 9 years ago
Can also reproduced with this code.
Apparently the bug just occurs any time you call a parameter with functional type. However, if the parameter is declared as Result on(T val)
instead of Result(T) on
(i. e., an actual functional parameter), it works.
Correction: doesn’t need to be a parameter. As far as I can tell, no expression of callable type can be called at all.
this has been fixed but I didn't notice the issue until now.
In line: https://github.com/ceylon/ceylon-js/blob/91387ce6a4543aa9e2126716dd05568d3dde75ab/src/main/java/com/redhat/ceylon/compiler/js/BmeGenerator.java#L65
Possibly related to changes for https://github.com/ceylon/ceylon-spec/issues/1224