Closed gavinking closed 8 years ago
In a cross-platform module, the typechecker rightly rejects the following code:
import java.lang { Integer } shared void run() { Integer(""); }
But it accepts this code:
import java.lang { Integer } shared void run() { Integer i; }
It even accepts the following code:
import java.io { InputStream } class Run() extends InputStream() { shared actual Integer read() => nothing; }
Which of course blows up the JS backend.
@quintesse this is for you, of course.
Should be done, now. Closing.
Thanks, I will try it out.
Confirmed it's working. :)
In a cross-platform module, the typechecker rightly rejects the following code:
But it accepts this code:
It even accepts the following code:
Which of course blows up the JS backend.
@quintesse this is for you, of course.