Closed kg583 closed 7 months ago
if "0":print("foo") # foo if"0":print("foo") # SyntaxError: invalid character '▶' (U+25B6) if"abcdef":print("foo") # SyntaxError: invalid character '▶' (U+25B6) if"0": print("foo") # SyntaxError: invalid character '▶' (U+25B6) if"":print("foo") # (this one's fine, yielding no output)
The full error for all of those is
File "<string>", line 1 if ▶0⏹: #1: if"0":print("foo") ^ SyntaxError: invalid character '▶' (U+25B6)```
Notably, the referenced transpiled code is independent of the source string.
Fixed as of coconut-develop>=3.0.4-post_dev13 (pip install -U coconut-develop>=3.0.4-post_dev13 to get the fix).
coconut-develop>=3.0.4-post_dev13
pip install -U coconut-develop>=3.0.4-post_dev13
The full error for all of those is
Notably, the referenced transpiled code is independent of the source string.