musictheory / NilScript

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

Not having a name for a method should be a parse error #102

Closed iccir closed 8 years ago

iccir commented 8 years ago

The following should not be legal:

@implementation Foo
- (String) { return ""; }
@end