Commit 5ab237d
[cfe] Move lowering to constant evaluator
This moves the lowering of patterns in switch statement/expression,
pattern assignment, pattern variable declaration and if-case statement
to the constant evaluator.
Change-Id: Ic5810e96b26a74987c50fd71b306e41b59504e1f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/288401
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>1 parent b686b2e commit 5ab237d
File tree
44 files changed
+1761
-1619
lines changed- pkg/front_end
- lib/src/fasta
- kernel
- type_inference
- testcases
- late_lowering
- patterns
- records
- regress
- test
- tests/language/patterns
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
44 files changed
+1761
-1619
lines changedLines changed: 548 additions & 7 deletions
Large diffs are not rendered by default.
Lines changed: 22 additions & 432 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1668 | 1668 | | |
1669 | 1669 | | |
1670 | 1670 | | |
| 1671 | + | |
1671 | 1672 | | |
1672 | 1673 | | |
1673 | 1674 | | |
| |||
Lines changed: 100 additions & 100 deletions
Large diffs are not rendered by default.
Lines changed: 100 additions & 100 deletions
Large diffs are not rendered by default.
Lines changed: 100 additions & 100 deletions
Large diffs are not rendered by default.
Lines changed: 100 additions & 100 deletions
Large diffs are not rendered by default.
Lines changed: 100 additions & 100 deletions
Large diffs are not rendered by default.
Lines changed: 67 additions & 67 deletions
Large diffs are not rendered by default.
Lines changed: 89 additions & 89 deletions
Large diffs are not rendered by default.
0 commit comments