JSMonk / hegel

An advanced static type checker
https://hegel.js.org
MIT License
2.1k stars 59 forks source link

hegel does not recognize destructuring assignment #175

Open weakish opened 4 years ago

weakish commented 4 years ago
let [a, b] = [1, 2]
let c = a + b

hegel reported:

Variable "a" is not defined.

JSMonk commented 4 years ago

Yes, it is. We will add it after fixin' main issues. Thank you for your contribution ^_^.