Closed halemmerich closed 2 months ago
BangleJS2 2v21.69
I'm trying to let a jit'ed method create and return an object which in some cases directly contains values given to the method as parameters. Some properties are then missing.
Minimal example:
print((v) => { "jit"; return { t: v }; }(123)); print((v) => { "jit"; return { t: v+0 }; }(123)); print((v) => { "jit"; return v; }(123)); print((v) => { return { t: v }; }(123));
results in:
{ } { "t": 123 } 123 { "t": 123 }
The first seems wrong to me, the other three work as expected.
BangleJS2 2v21.69
I'm trying to let a jit'ed method create and return an object which in some cases directly contains values given to the method as parameters. Some properties are then missing.
Minimal example:
results in:
The first seems wrong to me, the other three work as expected.