Commit 2f25893
authored
fix(virtualmachine): honor __concat metamethod in
Replace `table.concat`-based `CONCAT` implementation with use of the `..` operator so `__concat` metamethods are invoked. Fixes concatenation when operands aren't plain strings (e.g., metatable with `__concat` metamethod).CONCAT instruction #8
1 parent 6185535 commit 2f25893
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3928 | 3928 | | |
3929 | 3929 | | |
3930 | 3930 | | |
3931 | | - | |
3932 | | - | |
3933 | | - | |
| 3931 | + | |
| 3932 | + | |
| 3933 | + | |
3934 | 3934 | | |
3935 | | - | |
3936 | | - | |
3937 | | - | |
| 3935 | + | |
3938 | 3936 | | |
3939 | 3937 | | |
3940 | 3938 | | |
| |||
0 commit comments