ceylon/ceylon-compiler — Issue #329: Bad boxing bug
Author: gavinking
Created: 2012-01-21 03:54:39+00:00
State: open
Labels: BUG, high priority

The following code results in two errors, because the literal string is incorrectly boxed to `c.l.String`.

interface Something satisfies Anything {
shared formal String something;
}

object se satisfies SomethingElse {
shared actual String something = "somethingElse";
}

object se satisfies SomethingElse {
shared actual String something {
return "somethingElse";
}
}