ceylon / ceylon-spec

DEPRECATED
Apache License 2.0
108 stars 34 forks source link

Make sure typechecker checks for illegal `native` annotation on `module` #1468

Closed quintesse closed 8 years ago

quintesse commented 8 years ago

Right now it's done in the JVM backend only, so neither the JS backend nor the IDE give an error for this code:

native module foobar "1.0.0" { }
quintesse commented 8 years ago

I'll consider this fixed even though I can't really run the compiler tests correctly. But the SDK and the Eclipse plugin compile and work so at least I didn't break anything important.