grol-io / grol

Go REPL Open Language
https://grol.io
Apache License 2.0
22 stars 2 forks source link

m.x++ not working #189

Open ldemailly opened 2 months ago

ldemailly commented 2 months ago

it parses as

== Parse ==> (m.(x++))

which is why it doesn't work as it would increment an unrelated variable but actually just uses "x++" as the string key

ldemailly commented 2 months ago

also

discord.state[idx] = "abc"
<err: index assignment to non identifier: DOT:".">