VisualCodeBase / CodeBase

Power, Rich, Modern Programming Language
MIT License
12 stars 3 forks source link

pow-equals generates invalid code #5

Closed micsthepick closed 2 years ago

micsthepick commented 3 years ago

If I use JSFX code that includes such a line:

x ^= ex

it generates invalid code:

x(_a,) = ex_a = cb_Pow(x(_a,) = ex_a);
micsthepick commented 3 years ago

temporary workaround looks to be just converting x ^= y to x = x ^ y

VisualCodeBase commented 3 years ago

thank you very much! will be checked.

VisualCodeBase commented 2 years ago

fixed