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

Unified Diff: pkg/front_end/testcases/inference/infer_assign_to_index_super_upwards.dart.outline.expect

Issue 2935783003: Add type inference for assignments to `super[...]` (Closed)
Patch Set: Created 3 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
Index: pkg/front_end/testcases/inference/infer_assign_to_index_super_upwards.dart.outline.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_index_super_upwards.dart.outline.expect b/pkg/front_end/testcases/inference/infer_assign_to_index_super_upwards.dart.outline.expect
new file mode 100644
index 0000000000000000000000000000000000000000..9dd5ea61abc9240f72342c16fb999b0d787be1d1
--- /dev/null
+++ b/pkg/front_end/testcases/inference/infer_assign_to_index_super_upwards.dart.outline.expect
@@ -0,0 +1,72 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+abstract class Base<T extends core::Object, U extends core::Object> extends core::Object {
+ constructor •() → void
+ ;
+ abstract operator [](core::String s) → self::Base::T;
+ abstract operator []=(core::String s, self::Base::U v) → void;
+}
+abstract class Test1 extends self::Base<core::int, core::int> {
+ constructor •() → void
+ ;
+ method test() → void
+ ;
+}
+abstract class Test2 extends self::Base<core::int, core::num> {
+ constructor •() → void
+ ;
+ method test() → void
+ ;
+}
+abstract class Test3 extends self::Base<core::int, core::double> {
+ constructor •() → void
+ ;
+ method test() → void
+ ;
+}
+abstract class Test4 extends self::Base<core::num, core::int> {
+ constructor •() → void
+ ;
+ method test() → void
+ ;
+}
+abstract class Test5 extends self::Base<core::num, core::num> {
+ constructor •() → void
+ ;
+ method test() → void
+ ;
+}
+abstract class Test6 extends self::Base<core::num, core::double> {
+ constructor •() → void
+ ;
+ method test() → void
+ ;
+}
+abstract class Test7 extends self::Base<core::double, core::int> {
+ constructor •() → void
+ ;
+ method test() → void
+ ;
+}
+abstract class Test8 extends self::Base<core::double, core::num> {
+ constructor •() → void
+ ;
+ method test() → void
+ ;
+}
+abstract class Test9 extends self::Base<core::double, core::double> {
+ constructor •() → void
+ ;
+ method test() → void
+ ;
+}
+static method getInt() → core::int
+ ;
+static method getNum() → core::num
+ ;
+static method getDouble() → core::double
+ ;
+static method main() → dynamic
+ ;

Powered by Google App Engine
This is Rietveld 408576698