Commit adfcd5b
committed
Ensure scope slot is allocated for arguments symbol when captured by lambda
When a lambda captures arguments symbol, the symbol gets the scope slots allocated while it is emitted in the lambda function. But there can be a case where the function gets reparsed and the lambda does not get emitted again. So if the function has arguments then make sure scope slot is allocated each time.1 parent 507e4cb commit adfcd5b
1 file changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4097 | 4097 | | |
4098 | 4098 | | |
4099 | 4099 | | |
4100 | | - | |
| 4100 | + | |
4101 | 4101 | | |
4102 | 4102 | | |
4103 | | - | |
4104 | | - | |
4105 | | - | |
4106 | | - | |
4107 | | - | |
4108 | | - | |
| 4103 | + | |
| 4104 | + | |
| 4105 | + | |
| 4106 | + | |
| 4107 | + | |
4109 | 4108 | | |
4110 | 4109 | | |
4111 | 4110 | | |
| |||
0 commit comments