Commit f45a6b1
CLJS-2104: Const-replaced exprs do not emit js "return"
When const-replacement is done during emission, we must ensure we use
the :context of the *replaced* form, not the const form.1 parent 3f588c8 commit f45a6b1
2 files changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1327 | 1327 | | |
1328 | 1328 | | |
1329 | 1329 | | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
1330 | 1340 | | |
1331 | 1341 | | |
1332 | 1342 | | |
| |||
0 commit comments