Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ceylon/ceylon-spec into comprehen…
Browse files Browse the repository at this point in the history
…sions
  • Loading branch information
gavinking committed May 11, 2012
2 parents e675d54 + cbf2914 commit d94e6c6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ private String importMember(Tree.ImportMemberOrType member, Package importedPack
if (d==null) { if (d==null) {
member.getIdentifier().addError("imported declaration not found: " + member.getIdentifier().addError("imported declaration not found: " +
name, 100); name, 100);
unit.getUnresolvedReferences().add(member.getIdentifier());
} }
else if (isNonimportable(d)) { else if (isNonimportable(d)) {
member.getIdentifier().addError("root type may not be imported"); member.getIdentifier().addError("root type may not be imported");
Expand Down Expand Up @@ -239,6 +240,7 @@ private void importMember(Tree.ImportMemberOrType member, TypeDeclaration d) {
if (m==null) { if (m==null) {
member.getIdentifier().addError("imported declaration not found: " + member.getIdentifier().addError("imported declaration not found: " +
name + " of " + d.getName(), 100); name + " of " + d.getName(), 100);
unit.getUnresolvedReferences().add(member.getIdentifier());
} }
else { else {
if (!m.isShared()) { if (!m.isShared()) {
Expand Down

0 comments on commit d94e6c6

Please sign in to comment.