Commit c757fda
[front end] Eliminate unnecessary code path.
Now that null-aware guard variables are handled specially by flow
analysis (see https://dart-review.googlesource.com/c/sdk/+/427341),
all variables passed to `OperationsCfe.variableType` are instances of
`VariableDeclarationImpl`.
Change-Id: I1c7d990cc7f0539767c476e9a884aeff90af6a23
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/427800
Reviewed-by: Chloe Stefantsova <[email protected]>
Commit-Queue: Paul Berry <[email protected]>1 parent e252d45 commit c757fda
File tree
1 file changed
+5
-10
lines changed- pkg/front_end/lib/src/type_inference
1 file changed
+5
-10
lines changedLines changed: 5 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
679 | 674 | | |
680 | 675 | | |
681 | 676 | | |
| |||
0 commit comments