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

Unified Diff: pkg/front_end/testcases/inference/future_union_upwards_generic_methods.dart.dartk.expect

Issue 2900753002: Update status and expectations. (Closed)
Patch Set: Created 3 years, 7 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/testcases/inference/future_union_upwards_generic_methods.dart.dartk.expect
diff --git a/pkg/front_end/testcases/inference/future_union_upwards_generic_methods.dart.dartk.expect b/pkg/front_end/testcases/inference/future_union_upwards_generic_methods.dart.dartk.expect
new file mode 100644
index 0000000000000000000000000000000000000000..c723dc5681b23d68144a6a1ecaf0febea9600a89
--- /dev/null
+++ b/pkg/front_end/testcases/inference/future_union_upwards_generic_methods.dart.dartk.expect
@@ -0,0 +1,28 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+class A extends core::Object {
+ constructor •() → void
+ : super core::Object::•()
+ ;
+}
+class B extends self::A {
+ constructor •() → void
+ : super self::A::•()
+ ;
+}
+class C extends self::A {
+ constructor •() → void
+ : super self::A::•()
+ ;
+}
+static method main() → dynamic {
+ dynamic b = throw new core::NoSuchMethodError::•(null, #Future<B>.value, <dynamic>[throw new core::NoSuchMethodError::•(null, #B, <dynamic>[], <dynamic, dynamic>{}, null)], <dynamic, dynamic>{}, null);
+ dynamic c = throw new core::NoSuchMethodError::•(null, #Future<C>.value, <dynamic>[throw new core::NoSuchMethodError::•(null, #C, <dynamic>[], <dynamic, dynamic>{}, null)], <dynamic, dynamic>{}, null);
+ dynamic lll = <dynamic>[b, c];
+ dynamic result = await throw new core::NoSuchMethodError::•(null, #wait, <dynamic>[lll], <dynamic, dynamic>{}, null);
+ dynamic result2 = await throw new core::NoSuchMethodError::•(null, #wait, <dynamic>[<dynamic>[b, c]], <dynamic, dynamic>{}, null);
+ core::List<dynamic> list = result;
+ list = result2;
+}

Powered by Google App Engine
This is Rietveld 408576698