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

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

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
« no previous file with comments | « no previous file | pkg/front_end/testcases/inference/null_aware_method_invocation.dart.direct.expect » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/testcases/inference/null_aware_method_invocation.dart
diff --git a/pkg/front_end/testcases/inference/null_aware_method_invocation.dart b/pkg/front_end/testcases/inference/null_aware_method_invocation.dart
index 7ff4643d5bb339e53275c3b41d2d3796fdd9ba69..efe406312942c6df121011bd34a623897dc40687 100644
--- a/pkg/front_end/testcases/inference/null_aware_method_invocation.dart
+++ b/pkg/front_end/testcases/inference/null_aware_method_invocation.dart
@@ -11,6 +11,7 @@ class C {
g(C c) {
var /*@type=int*/ x = c?. /*@target=C::f*/ f();
+ c?. /*@target=C::f*/ f();
}
main() {}
« no previous file with comments | « no previous file | pkg/front_end/testcases/inference/null_aware_method_invocation.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698