Index: pkg/compiler/lib/src/parser/node_listener.dart |
diff --git a/pkg/compiler/lib/src/parser/node_listener.dart b/pkg/compiler/lib/src/parser/node_listener.dart |
index 3a3e91b9039ae37d69edb74d9fb5b619fe601f9c..b5f1db2bea1ce1c47f60910ddd000b28562e2615 100644 |
--- a/pkg/compiler/lib/src/parser/node_listener.dart |
+++ b/pkg/compiler/lib/src/parser/node_listener.dart |
@@ -450,7 +450,7 @@ class NodeListener extends ElementListener { |
pushNode(new Rethrow(throwToken, endToken)); |
if (identical(throwToken.stringValue, 'throw')) { |
reporter.reportErrorMessage( |
- throwToken, MessageKind.UNSUPPORTED_THROW_WITHOUT_EXP); |
+ throwToken, MessageKind.MISSING_EXPRESSION_IN_THROW); |
} |
} |