ceylon/ceylon-compiler — Issue #221: During incremental build, references between different units in default package break
Author: gavinking
Created: 2011-11-23 17:13:47+00:00
State: open
Labels: BUG

Note: this issue only occurs during an incremental build.

If I have the following units in the default package:

`void foo() {}`

and

`void bar() {
foo();
}`

And I make a change to bar, I get this error from compiler:

/Users/gavin/runtime-EclipseApplication/project/src/bar.ceylon:2: foo is not public in ; cannot be accessed from outside package
foo();
^

David has already done a bunch of investigation and has an idea about where the root cause of this is.