Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Unified Diff: sdk/lib/_internal/compiler/implementation/resolution/members.dart

Issue 23194002: Add missing registration of throwRuntimeError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/language/create_unresolved_type_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/resolution/members.dart
diff --git a/sdk/lib/_internal/compiler/implementation/resolution/members.dart b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
index f6f8cc98d04af5022ad4dbb41449a36be42e5ca4..511fc69e7be678044681f0bb4d6abe07754a04cb 100644
--- a/sdk/lib/_internal/compiler/implementation/resolution/members.dart
+++ b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
@@ -1467,6 +1467,7 @@ class TypeResolver {
if (malformedIsError) {
visitor.error(node, messageKind.error, messageArguments);
} else {
+ compiler.backend.registerThrowRuntimeError(visitor.mapping);
visitor.warning(node, messageKind.warning, messageArguments);
}
var erroneousElement = new ErroneousElementX(
« no previous file with comments | « no previous file | tests/language/create_unresolved_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698