Closed jvasileff closed 8 years ago
Thinking out loud, I wonder what other problems like this I might run into.
Currently, if there are typechecker errors, I don't attempt to create a ceylon.ast
. This protects me from AssertionError
s, mostly.
Should I do this in 1.3.0?
I vote yes!
Basically, I think, remove from
ImportElements
:The problem I ran into was that for JavaScript and Dart, the following:
is "valid enough" to pass type checking and compile without error (and does, indeed on JS), since
java.nio
is ignored since it isnative("jvm")
. The "Import elements may not be empty" error is not aRecognitionError
.See also https://github.com/ceylon/ceylon/issues/6501
Edit: actually, I guess I'm not sure about the error type.