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

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

Issue 2058023003: Update dart2js to handle parse error in constructor. (Closed) Base URL: git@github.com:dart-lang/rasta.git@library_import_chain
Patch Set: 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 | « test/kernel/regression/type_with_parse_error.dart ('k') | no next file » | 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/issue_000012.dart.txt b/test/kernel/regression/type_with_parse_error.dart.txt
similarity index 59%
copy from test/kernel/regression/issue_000012.dart.txt
copy to test/kernel/regression/type_with_parse_error.dart.txt
index 3f59213b838dbbbb15aa24e7edc0c71e1b3efea0..297b824cae7cdca53f74a23154770a19e8bb9b56 100644
--- a/test/kernel/regression/issue_000012.dart.txt
+++ b/test/kernel/regression/type_with_parse_error.dart.txt
@@ -3,17 +3,16 @@ import self as self;
import "dart:core" as core;
class A extends core::Object {
- field dynamic field;
constructor •() → self::A
: super core::Object::•();
+ method foo() → dynamic {
+ invalid-expression;
+ }
}
-class B extends self::A {
+class B extends core::Object {
constructor •() → self::B
- : super self::A::•();
- method m() → dynamic {
- super.self::A::field = 42;
- }
+ : super core::Object::•();
}
static method main() → dynamic {
- new self::B::•().m();
+ invalid-expression;
}
« no previous file with comments | « test/kernel/regression/type_with_parse_error.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698