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

Unified Diff: pkg/front_end/testcases/inference/conditional_upwards_inference.dart.direct.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
Index: pkg/front_end/testcases/inference/conditional_upwards_inference.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/conditional_upwards_inference.dart.direct.expect b/pkg/front_end/testcases/inference/conditional_upwards_inference.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..8145e1106bd470b3eee3c1b665fd8537cf67ce07
--- /dev/null
+++ b/pkg/front_end/testcases/inference/conditional_upwards_inference.dart.direct.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 = <dynamic>[1];
+ core::List<core::int> l2 = <dynamic>[2];
+ dynamic x = new self::C::•<dynamic>(l1);
+ dynamic y = new self::C::•<dynamic>(l2);
+ dynamic z = new self::C::•<dynamic>(b ? l1 : l2);
+}

Powered by Google App Engine
This is Rietveld 408576698