ceylon/ceylon-compiler — Issue #410: Ceylon and Java don't have the same constraints for instanceof/is
Author: FroMage
Created: 2012-02-28 16:55:21+00:00
State: open
Labels: BUG, interoperability

The following Ceylon code doesn't compile because of javac constraints:

```java
import java.lang {JString = String }

void f(){
Collection s = "foo";
Boolean b = is JString s;
}
```

Because Java says that it can't possibly be a `java.lang.String`