package Foo library "a";
class X {}
package Foo library "b";
import Foo library "a";
var a: X = {};
produces an error that the package name must be omitted when importing from the current package, which is good. But then the import appears to be ignored entirely, resulting in an additional error that X is unknown.
I think we should just ignore the package name in the import in that case.
package Foo library "a"; class X {}produces an error that the package name must be omitted when importing from the current package, which is good. But then the import appears to be ignored entirely, resulting in an additional error that
Xis unknown.I think we should just ignore the package name in the import in that case.