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

Unified Diff: pkg/front_end/testcases/inference/conditional_upwards_inference.dart.strong.expect

Issue 2916633002: Remove TODOs from KernelConditionalExpression._inferExpression. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « pkg/front_end/testcases/inference/conditional_upwards_inference.dart.outline.expect ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/testcases/inference/conditional_upwards_inference.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/conditional_upwards_inference.dart.strong.expect b/pkg/front_end/testcases/inference/conditional_upwards_inference.dart.strong.expect
new file mode 100644
index 0000000000000000000000000000000000000000..5bd6f4f0adc1f1c6f8c7f613dd48127379aaf3d1
--- /dev/null
+++ b/pkg/front_end/testcases/inference/conditional_upwards_inference.dart.strong.expect
@@ -0,0 +1,17 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+class C<T extends core::Object> extends core::Object {
+ constructor •(core::List<self::C::T> x) → void
+ : super core::Object::•()
+ ;
+}
+static method main() → dynamic {
+ core::bool b = false;
+ core::List<core::int> l1 = <core::int>[1];
+ core::List<core::int> l2 = <core::int>[2];
+ self::C<core::int> x = new self::C::•<core::int>(l1);
+ self::C<core::int> y = new self::C::•<core::int>(l2);
+ self::C<core::int> z = new self::C::•<core::int>(b ? l1 : l2);
+}
« no previous file with comments | « pkg/front_end/testcases/inference/conditional_upwards_inference.dart.outline.expect ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698