Alejandro Alonso
|
0df42e9841
|
Lower UDRE to TypeValue if it references a value generic
|
2024-09-04 15:13:29 -07:00 |
|
Hamish Knight
|
89a3390aa1
|
[Sema] Move SingleValueStmtUsageChecker into pre-checking
These diagnostics are better suited for pre-checking
since we ought to be emitting them even if there's
some other error with the expression.
|
2024-08-30 18:55:48 +01:00 |
|
Hamish Knight
|
1139b0e799
|
Remove shouldWalkCaptureInitializerExpressions from PreCheckTarget
We walk into PatternBindingDecls, so I don't think
there should be any reason we can't walk captures
normally (i.e via their PBD).
|
2024-08-30 18:55:48 +01:00 |
|
Hamish Knight
|
f0e487dc81
|
NFC: Rename PreCheckExpression -> PreCheckTarget
|
2024-08-30 18:55:48 +01:00 |
|