rzimmerman / kal

A powerful, easy-to-use, and easy-to-read programming language for the future.
http://rzimmerman.github.io/kal
MIT License
394 stars 18 forks source link

for loop issue if iterable is a function call #25

Closed rzimmerman closed 11 years ago

rzimmerman commented 11 years ago

The following will not compile:

for key in Object.getOwnPropertyNames obj

But the following will:

for key in Object.getOwnPropertyNames(obj)