[svn] r7427: nemerle/trunk/ncc/typing/Typer.n
VladD2
svnadmin at nemerle.org
Thu Feb 15 02:55:55 CET 2007
Log:
Fix error message.
Author: VladD2
Date: Thu Feb 15 02:55:53 2007
New Revision: 7427
Modified:
nemerle/trunk/ncc/typing/Typer.n
Modified: nemerle/trunk/ncc/typing/Typer.n
==============================================================================
--- nemerle/trunk/ncc/typing/Typer.n (original)
+++ nemerle/trunk/ncc/typing/Typer.n Thu Feb 15 02:55:53 2007
@@ -1471,9 +1471,13 @@
else
TypeMemberExpr (TypeExpr (obj), name, expected)
+ | PT.PExpr.Member (_, null) =>
+ ReportError (messenger, "expected member");
+ TExpr.Error()
+
| PT.PExpr.Member (_, _) =>
- ReportFatal (messenger,
- "$ operator outside quotation <[ ... ]> context")
+ ReportError (messenger, "$ operator outside quotation <[ ... ]> context");
+ TExpr.Error()
// 2 * 3 * 4 is Call(*,[2,3,4]), we need to transform it
More information about the svn
mailing list