ceylon/ceylon-compiler — Issue #330: Incremental compilation against enumerated types defined in one file
Author: gavinking
Created: 2012-01-22 08:23:39+00:00
State: open
Labels: BUG, high priority

In one file:

abstract class X() of Y | Z /*| W*/ {}
class Y() extends X() {}
class Z() extends X() {}

In a second file:

void switchit(X x) {
switch (x)
case (is Y) { print("foo"); print(x); }
case (is Z) { print("bar"); }
}

The code compiles fine using a clean build in the IDE, but not when incrementally compiling just the second file.