Semiautovivification with a concat assignment produces an erroneous code #1028
Labels
Comments
The issue also applies to other assignments, but this one has a practical use case. |
that's the craziest syntax i've ever seen 8) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example:
Result:
Expected result:
The current behavior produces a code, which gives a runtime error
ReferenceError: Invalid left-hand side in assignment
.The "expected result" block is a result of compiling:
(after merging #1026)
which is a simplification of (currently uncompilable):
because the effects of semiautovivification are canceled by an assign.
The text was updated successfully, but these errors were encountered: