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

Unified Diff: pkg/front_end/testcases/inference/conditional_lub.dart.direct.expect

Issue 2849213002: Add a strong mode implementation of LUB to fasta; use it to infer ?: (Closed)
Patch Set: Created 3 years, 8 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_lub.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/conditional_lub.dart.direct.expect b/pkg/front_end/testcases/inference/conditional_lub.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..42ba544c860c46fd064a705e54b521f8fb8baf89
--- /dev/null
+++ b/pkg/front_end/testcases/inference/conditional_lub.dart.direct.expect
@@ -0,0 +1,11 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+static field core::bool b = true;
+static field core::int x = 0;
+static field core::double y = 0.0;
+static field dynamic z = self::b ? self::x : self::y;
+static method main() → dynamic {
+ dynamic z = self::b ? self::x : self::y;
+}

Powered by Google App Engine
This is Rietveld 408576698