Closed jvasileff closed 8 years ago
Can't reproduce this, I get:
./source/test/test.ceylon:8: error: foo() is already defined in NC2
native("jvm") shared void foo() => print("impl 2");
Oh, right, this is actually much more nuanced.
ceylon compile-js
produces no error regardless of how many native("jvm")
declarations exist.native("js")
, ceylon compile
produces an error for one declaration, not with two or more.The duplicates should now generate proper errors.
Will close this issue because what's described has been fixed.
This type checks:
but, should have: