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

[compiler] Fix the bug which returns an error when handling undefined operator #302

Closed hihiboss closed 5 years ago

hihiboss commented 5 years ago

Where compiler

Bug detail In compileInfixExpression(), there is a bug that returns an error when handling undefined operator.

Fix plan Add error returning logic in default case and implement test case!