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

Unified Diff: pkg/front_end/testcases/inference/super_initializer.dart.direct.expect

Issue 2992263002: Implement type inference for super initializers. (Closed)
Patch Set: Created 3 years, 4 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/super_initializer.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/super_initializer.dart.direct.expect b/pkg/front_end/testcases/inference/super_initializer.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..1d9a2bf0e44da1b7ff7594c4b0e6328a5a5dea46
--- /dev/null
+++ b/pkg/front_end/testcases/inference/super_initializer.dart.direct.expect
@@ -0,0 +1,17 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+class C extends self::B {
+ constructor •() → void
+ : super self::B::•(self::f<dynamic>())
+ ;
+}
+class B extends core::Object {
+ constructor •(core::int x) → void
+ : super core::Object::•()
+ ;
+}
+static method f<T extends core::Object>() → self::f::T
+ return null;
+static method main() → dynamic {}

Powered by Google App Engine
This is Rietveld 408576698