ccgus / CocoaScript

JavaScript + the Cocoa frameworks, and then ObjC brackets show up to party as well.
Other
618 stars 58 forks source link

Preprocessor issue #28

Open matt-curtis opened 9 years ago

matt-curtis commented 9 years ago

The CocoaScript preprocessor sometimes incorrectly parses brackets. For example, an error is thrown on items[itemNames[i]]. Probably because it becomes items.itemsNames([i])?