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

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

Issue 2938443003: Add type inference for assignments to `this[...]` (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_this_upwards.dart.outline.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_index_this_upwards.dart.outline.expect b/pkg/front_end/testcases/inference/infer_assign_to_index_this_upwards.dart.outline.expect
new file mode 100644
index 0000000000000000000000000000000000000000..8fae59d333a01158ef564e0dc7130e7a09a52b03
--- /dev/null
+++ b/pkg/front_end/testcases/inference/infer_assign_to_index_this_upwards.dart.outline.expect
@@ -0,0 +1,84 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+abstract class Test1 extends core::Object {
+ constructor •() → void
+ ;
+ abstract operator [](core::String s) → core::int;
+ abstract operator []=(core::String s, core::int v) → void;
+ method test() → void
+ ;
+}
+abstract class Test2 extends core::Object {
+ constructor •() → void
+ ;
+ abstract operator [](core::String s) → core::int;
+ abstract operator []=(core::String s, core::num v) → void;
+ method test() → void
+ ;
+}
+abstract class Test3 extends core::Object {
+ constructor •() → void
+ ;
+ abstract operator [](core::String s) → core::int;
+ abstract operator []=(core::String s, core::double v) → void;
+ method test() → void
+ ;
+}
+abstract class Test4 extends core::Object {
+ constructor •() → void
+ ;
+ abstract operator [](core::String s) → core::num;
+ abstract operator []=(core::String s, core::int v) → void;
+ method test() → void
+ ;
+}
+abstract class Test5 extends core::Object {
+ constructor •() → void
+ ;
+ abstract operator [](core::String s) → core::num;
+ abstract operator []=(core::String s, core::num v) → void;
+ method test() → void
+ ;
+}
+abstract class Test6 extends core::Object {
+ constructor •() → void
+ ;
+ abstract operator [](core::String s) → core::num;
+ abstract operator []=(core::String s, core::double v) → void;
+ method test() → void
+ ;
+}
+abstract class Test7 extends core::Object {
+ constructor •() → void
+ ;
+ abstract operator [](core::String s) → core::double;
+ abstract operator []=(core::String s, core::int v) → void;
+ method test() → void
+ ;
+}
+abstract class Test8 extends core::Object {
+ constructor •() → void
+ ;
+ abstract operator [](core::String s) → core::double;
+ abstract operator []=(core::String s, core::num v) → void;
+ method test() → void
+ ;
+}
+abstract class Test9 extends core::Object {
+ constructor •() → void
+ ;
+ abstract operator [](core::String s) → core::double;
+ abstract operator []=(core::String s, core::double v) → 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