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

Unified Diff: test/kernel/regression/type_with_parse_error.dart.txt

Issue 2108193002: Change error handling. (Closed) Base URL: git@github.com:dart-lang/rasta.git@master
Patch Set: Address comments Created 4 years, 6 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 | « lib/unresolved.dart ('k') | test/kernel/regression/unresolved.dart.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/kernel/regression/type_with_parse_error.dart.txt
diff --git a/test/kernel/regression/type_with_parse_error.dart.txt b/test/kernel/regression/type_with_parse_error.dart.txt
index 154c1c73dce5f4160721288448e2fa7d58fa68b4..18d0cca19bbcd65decb28363218f9e624896ffac 100644
--- a/test/kernel/regression/type_with_parse_error.dart.txt
+++ b/test/kernel/regression/type_with_parse_error.dart.txt
@@ -1,13 +1,12 @@
library;
import self as self;
import "dart:core" as core;
-import "dart:_internal" as _in;
class A extends core::Object {
constructor •() → self::A
: super core::Object::•();
method foo() → dynamic {
- _in::_dynamicError(0).call("'B' is not a type.");
+ throw core::_malformedTypeError("'B' is not a type.");
}
}
class B extends core::Object {
@@ -15,5 +14,5 @@ class B extends core::Object {
: super core::Object::•();
}
static method main() → dynamic {
- _in::_dynamicError(0).call("'B' is not a type.");
+ throw core::_malformedTypeError("'B' is not a type.");
}
« no previous file with comments | « lib/unresolved.dart ('k') | test/kernel/regression/unresolved.dart.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698