Commit e8aacbf
authored
inference: don't allow
In `InferenceState` the lhs of a `:=` expression should only contain
`GlobalRef` or `SlotNumber` and no other IR elements. Currently when
`SSAValue` appears in `lhs`, the invalid assignment effect is somehow
ignored, but this is incorrect anyway, so this commit removes that
check. Since `SSAValue` should not appear in `lhs` in the first place,
this is not a significant change though.SSAValues in assignment lhs (#56314)1 parent 29b509d commit e8aacbf
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3648 | 3648 | | |
3649 | 3649 | | |
3650 | 3650 | | |
3651 | | - | |
| 3651 | + | |
3652 | 3652 | | |
3653 | 3653 | | |
3654 | 3654 | | |
| |||
0 commit comments