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

bug: enter/leave scope when start parsing function literal #316

Closed zeroFruit closed 5 years ago

zeroFruit commented 5 years ago

resolved: #309

details:

enter/leave scope when start parsing function literal, as a result we can now parsing like this situation:

contract {
    func foo(a int) {}
    func bar(a int) {} // now we can use `a` in the parameter
}