Skip to content

Commit

Permalink
improve diagnostic in wrong or unimplemented usages of 'multi'
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFound committed Oct 24, 2011
1 parent 83cf596 commit b0f0d6c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion winxedst1.winxed
Expand Up @@ -3576,8 +3576,11 @@ class OpClassExpr : OpExpr
case clspec instanceof ClassSpecifierId:
var clkey = clspec.checknskey(owner);
return clkey != null ? clkey.path : null;
case clspec instanceof ClassSpecifier:
SyntaxError(string(typeof(clspec)) + " not supported yet here",
clspec.start);
}
SyntaxError("Testing, unfinished", self.start);
InternalError("Unexpected class key", clspec.start);
}
function emit(e, result)
{
Expand Down

0 comments on commit b0f0d6c

Please sign in to comment.