You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FWIW I just updated to 1.11.10 via jsvu and still see the same behaviour:
$ ch --version
ch version 1.11.10.0
$ ch chissue.js
CompileError: function run[0] at offset 36/38 (0x24/0x26): Can't tee_local unreachable values
at Global code (.../chissue.js:6:1)
Consider the following program:
which we can embed in a script as follows:
With
ch version 1.11.9.0
I get a compile-time error:whereas
sm
,v8
, orjsc
all throw a run-time error:The weird thing is that Chakra's compile-time check seems to be limited to
tee_local
😮If we do variations that, e.g.,
set_local
instead (chissue2) ordrop
andi32const
(chissue3)the programs pass compile-time validation and throws a run-time error like the other 3 engines.
Variation 1 (chissue2):
Variation 2 (chissue3):
The text was updated successfully, but these errors were encountered: