musictheory / NilScript

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

New Obj-C @property attributes cause parse error #115

Closed iccir closed 8 years ago

iccir commented 8 years ago

The following valid @property attributes cause parse errors:

nonnull, nullable, null_unspecified, null_resettable, class

For now, nullability attributes should be ignored. In the future, we may wish to take advantage of TypeScript 2.0's new nullability feature.

I need to research the new class attribute.

iccir commented 8 years ago

Per http://blog.andrewmadsen.com/post/145919242155/objective-c-class-properties , class properties cannot be synthesized.

iccir commented 8 years ago

Class properties will get an explicit error message about not being supported.

iccir commented 8 years ago

Fixed by 9e0bbec2