DE-labtory / koa

The koa is a high-level language that has more expressions than the bitcoin script and is simpler and easy to analyze
Apache License 2.0
74 stars 18 forks source link

[parser] parseReassignStatement should be check in default cases #311

Closed zeroFruit closed 5 years ago

zeroFruit commented 5 years ago

Where parser

Bug detail

add(1, 2)

a = 1

I think both should be handled in default case in parseStatement

Fix plan

lookup one more token then decide whether this is reassign or callexpression

zeroFruit commented 5 years ago

@zeroFruit