Commit 4e47e34
authored
fix(virtualmachine): correct rk decoding for false values (#6)
Replace the RK (register or constant) helper's `or` fallback with an explicit branch so RK operands aren't mis-resolved when a register contains `false`, fixing cases like `false == nil` evaluating incorrectly.1 parent ca95cdb commit 4e47e34
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3774 | 3774 | | |
3775 | 3775 | | |
3776 | 3776 | | |
3777 | | - | |
| 3777 | + | |
| 3778 | + | |
3778 | 3779 | | |
3779 | 3780 | | |
3780 | 3781 | | |
| |||
0 commit comments