Commit f5c6f6c
Fix captured_vars lookup for SlotNumber(1) in optimize=false IR
Closure field access getfield(#self#, :name) uses Core.Argument(1) in
optimized IR but Core.SlotNumber(1) in unoptimized IR. Handle both.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 0550555 commit f5c6f6c
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
830 | | - | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
831 | 833 | | |
832 | 834 | | |
833 | 835 | | |
| |||
0 commit comments