Closed jvasileff closed 8 years ago
If it works on the JVM then why do you open it for ceylon-spec
? This is supported behaviour and the bug is in the JS backend.
Copied to ceylon/ceylon-js/issues/655
why do you open it for ceylon-spec
The answer is in the issue description.
For classes, native headers cannot provide their own default implementations. So I presume the same should be true for functions.
results in "ReferenceError: nf1 is not defined" on JS. On the JVM, it compiles and outputs "nf1".
Should a body even be allowed for native function headers?