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

Unified Diff: pkg/fasta/test/rasta/type_with_parse_error.dart.dartk.expect

Issue 2650913007: Import rasta tests. (Closed)
Patch Set: Created 3 years, 11 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
Index: pkg/fasta/test/rasta/type_with_parse_error.dart.dartk.expect
diff --git a/pkg/fasta/test/rasta/type_with_parse_error.dart.dartk.expect b/pkg/fasta/test/rasta/type_with_parse_error.dart.dartk.expect
new file mode 100644
index 0000000000000000000000000000000000000000..18d0cca19bbcd65decb28363218f9e624896ffac
--- /dev/null
+++ b/pkg/fasta/test/rasta/type_with_parse_error.dart.dartk.expect
@@ -0,0 +1,18 @@
+library;
+import self as self;
+import "dart:core" as core;
+
+class A extends core::Object {
+ constructor •() → self::A
+ : super core::Object::•();
+ method foo() → dynamic {
+ throw core::_malformedTypeError("'B' is not a type.");
+ }
+}
+class B extends core::Object {
+ constructor •() → self::B
+ : super core::Object::•();
+}
+static method main() → dynamic {
+ throw core::_malformedTypeError("'B' is not a type.");
+}

Powered by Google App Engine
This is Rietveld 408576698