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

auto-parentheses don't work for some arguments #3

Closed rzimmerman closed 11 years ago

rzimmerman commented 11 years ago

Parentheses don't get added to implicit function calls in the following cases:

The first argument is a regular expression

a.b /rex/g

The function object being called is the result of an array access

a.b[4] c