musictheory / NilScript

Objective-C-style language superset of JavaScript with a tiny, simple runtime
Other
50 stars 5 forks source link

Typechecker should work when @each rhs is not an array #43

Closed iccir closed 9 years ago

iccir commented 9 years ago

The typechecker should warn in the following case:

@each (var i in not_an_array_but_an_oj_object) {