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

Unified Diff: pkg/front_end/test/fasta/type_variable_as_super.dart.dartk.expect

Issue 2728123002: Add missing test from previous CL. (Closed)
Patch Set: Created 3 years, 10 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/front_end/test/fasta/type_variable_as_super.dart.dartk.expect
diff --git a/pkg/front_end/test/fasta/type_variable_as_super.dart.dartk.expect b/pkg/front_end/test/fasta/type_variable_as_super.dart.dartk.expect
new file mode 100644
index 0000000000000000000000000000000000000000..f896d53309187929cd7e0c3902c2dd8e6b34e56d
--- /dev/null
+++ b/pkg/front_end/test/fasta/type_variable_as_super.dart.dartk.expect
@@ -0,0 +1,24 @@
+library;
+import self as self;
+import "dart:core" as core;
+
+abstract class A<T extends core::Object> extends core::Object {
+ constructor •() → void
+ : super core::Object::•()
+ ;
+}
+abstract class B<T extends core::Object> extends core::Object {
+ constructor •() → void
+ : super core::Object::•()
+ ;
+}
+class C<T extends core::Object> extends core::Object {
+ constructor •() → void
+ : super core::Object::•()
+ ;
+}
+static method main() → dynamic {
+ throw new core::NoSuchMethodError::•(null, #A, <dynamic>[], <dynamic, dynamic>{}, null);
+ throw new core::NoSuchMethodError::•(null, #B, <dynamic>[], <dynamic, dynamic>{}, null);
+ new self::C::•<dynamic>();
+}

Powered by Google App Engine
This is Rietveld 408576698