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

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

Issue 2928033005: Add type inference for assignment to local variables. (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_upwards.dart.outline.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_index_upwards.dart.outline.expect b/pkg/front_end/testcases/inference/infer_assign_to_index_upwards.dart.outline.expect
new file mode 100644
index 0000000000000000000000000000000000000000..94f72e2719e0ba27c97a17c4d311a528094fd130
--- /dev/null
+++ b/pkg/front_end/testcases/inference/infer_assign_to_index_upwards.dart.outline.expect
@@ -0,0 +1,36 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+abstract class Test<T extends core::Object, U extends core::Object> extends core::Object {
+ constructor •() → void
+ ;
+ abstract operator [](core::String s) → self::Test::T;
+ abstract operator []=(core::String s, self::Test::U v) → void;
+}
+static method getInt() → core::int
+ ;
+static method getNum() → core::num
+ ;
+static method getDouble() → core::double
+ ;
+static method test1(self::Test<core::int, core::int> t) → void
+ ;
+static method test2(self::Test<core::int, core::num> t) → void
+ ;
+static method test3(self::Test<core::int, core::double> t) → void
+ ;
+static method test4(self::Test<core::num, core::int> t) → void
+ ;
+static method test5(self::Test<core::num, core::num> t) → void
+ ;
+static method test6(self::Test<core::num, core::double> t) → void
+ ;
+static method test7(self::Test<core::double, core::int> t) → void
+ ;
+static method test8(self::Test<core::double, core::num> t) → void
+ ;
+static method test9(self::Test<core::double, core::double> t) → void
+ ;
+static method main() → dynamic
+ ;

Powered by Google App Engine
This is Rietveld 408576698