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

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

Issue 2948843002: Add tests of null-aware constructs in void contexts. (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/null_aware_method_invocation.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/null_aware_method_invocation.dart.strong.expect b/pkg/front_end/testcases/inference/null_aware_method_invocation.dart.strong.expect
index 5e0f64f41c3c1684c9a78ecf5b3bf421e6bcccbd..ec43510f2a1cddf48200b339b710f575417e74d4 100644
--- a/pkg/front_end/testcases/inference/null_aware_method_invocation.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/null_aware_method_invocation.dart.strong.expect
@@ -11,5 +11,6 @@ class C extends core::Object {
}
static method g(self::C c) → dynamic {
core::int x = let final self::C #t1 = c in #t1.==(null) ?{core::int} null : #t1.{self::C::f}();
+ let final self::C #t2 = c in #t2.==(null) ?{core::int} null : #t2.{self::C::f}();
}
static method main() → dynamic {}

Powered by Google App Engine
This is Rietveld 408576698