Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix some missing parens cases with OptionalMemberExpression in genera…
…tor (#8751)
- Loading branch information
1 parent
3b0f9a9
commit 9f407e0
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,7 @@ foo?.["bar"]?.foo; | |
0.?.toString(); | ||
0.5?.toString(); | ||
1.000?.toString(); | ||
|
||
(a?.b).c; | ||
(a ? b : c)?.d; | ||
(a?.b)() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters