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

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

Issue 2935763004: Implement type inference for "not" expressions. (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_prefix_expression.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/infer_prefix_expression.dart.strong.expect b/pkg/front_end/testcases/inference/infer_prefix_expression.dart.strong.expect
new file mode 100644
index 0000000000000000000000000000000000000000..6137c7c9bcd210a56104215703d01bc6363ac835
--- /dev/null
+++ b/pkg/front_end/testcases/inference/infer_prefix_expression.dart.strong.expect
@@ -0,0 +1,12 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+static field core::bool a_not = !true;
+static field core::int a_complement = 1.{core::int::~}();
+static field core::int a_negate = 1.{core::int::unary-}();
+static method main() → dynamic {
+ self::a_not;
+ self::a_complement;
+ self::a_negate;
+}

Powered by Google App Engine
This is Rietveld 408576698