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

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

Issue 2926763003: Add type inference for complex assignments whose LHS is an index expression. (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_set_vs_get.dart.outline.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_index_set_vs_get.dart.outline.expect b/pkg/front_end/testcases/inference/infer_assign_to_index_set_vs_get.dart.outline.expect
new file mode 100644
index 0000000000000000000000000000000000000000..6c8e6de9139f9cf75f2a76277ae412f3ec31b1ff
--- /dev/null
+++ b/pkg/front_end/testcases/inference/infer_assign_to_index_set_vs_get.dart.outline.expect
@@ -0,0 +1,54 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+class Index extends core::Object {
+ constructor •() → void
+ ;
+}
+class A extends core::Object {
+ constructor •() → void
+ ;
+ operator +(self::F v) → self::C
+ ;
+ operator -(core::int i) → self::C
+ ;
+}
+class B extends self::A {
+ constructor •() → void
+ ;
+ operator +(self::E v) → self::D
+ ;
+ operator -(core::int i) → self::D
+ ;
+}
+class C extends self::B {
+ constructor •() → void
+ ;
+}
+class D extends self::C {
+ constructor •() → void
+ ;
+}
+class E extends self::D {
+ constructor •() → void
+ ;
+}
+class F extends self::E {
+ constructor •() → void
+ ;
+}
+class Test extends core::Object {
+ constructor •() → void
+ ;
+ operator [](self::Index i) → self::B
+ ;
+ operator []=(self::Index i, self::A v) → void
+ ;
+ method test() → void
+ ;
+}
+static method f<T extends core::Object>() → self::f::T
+ ;
+static method main() → dynamic
+ ;

Powered by Google App Engine
This is Rietveld 408576698