Skip to content

Commit e6d1a8c

Browse files
authored
Add conditional access to test plan (#78377)
1 parent 927b5c6 commit e6d1a8c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/contributing/Compiler Test Plan.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,13 @@ M();
175175
++x;
176176
x++;
177177
--x;
178-
x--;
178+
x--;
179+
a?.M(); // conditional access / null-propagating operator
180+
a?[b] = c;
181+
a?.b = c;
182+
a?[b] = c;
183+
a?.b += c; // and other compound assignment cases
184+
var x = a?.M(); // similar "value is used" versions of the above '?.' cases
179185
new C();
180186
if (…) … else …
181187
switch(…) { … case (…) when (…): … }

0 commit comments

Comments
 (0)