Extract not-null expression

This commit is contained in:
Tamas Vajk
2021-11-23 11:47:35 +01:00
committed by Ian Lynagh
parent 6603767d94
commit 716b87d200
7 changed files with 126 additions and 45 deletions

View File

@@ -695,6 +695,7 @@ case @expr.kind of
| 79 = @stmtexpr
| 80 = @stringtemplateexpr
| 81 = @varargexpr
| 82 = @notnullexpr
;
/** Holds if this `when` expression was written as an `if` expression. */
@@ -771,7 +772,8 @@ when_branch_else(unique int id: @whenbranch ref);
| @minusexpr
| @plusexpr
| @bitnotexpr
| @lognotexpr;
| @lognotexpr
| @notnullexpr;
@caller = @classinstancexpr
| @methodaccess