musictheory / NilScript

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

Remove support for `var _ivar` as ivar declaration #108

Closed iccir closed 8 years ago

iccir commented 8 years ago

oj 0.x and 1.x allowed the following syntax:

@implementation Foo {
    var _ivar;
}
@end

This is no longer allowed in oj 2.x. For these cases, use an explicit id _ivar or any _ivar.