Conversation
| ForBinder Type | ||
|
|
||
| PatternType = | ||
| 'in' Type 'is' Pat |
There was a problem hiding this comment.
Given this is all hidden behind a macro right now I took the liberty of going with a prefix approach for parsing simplicity for now
5862154 to
7bcbc10
Compare
|
This does not support the |
|
Yeas it doesn't, That does raise the question of what to do about the new type only pattern here. Ideally we would re-use the pattern grammar here as adding a new type-pattern grammar is a lot to deal with. |
61eff72 to
3f700bb
Compare
3f700bb to
4e280bb
Compare
|
☔ The latest upstream changes (possibly #22101) made this pull request unmergeable. Please resolve the merge conflicts. |
|
The problem of using it as normal pattern is that all other places dealing with patterns will need to deal it. I don't personally have an opinion what's better. |
Does not implement actually type level things though