musictheory / NilScript

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

Type annotations don't work with function declarations/expressions #65

Closed iccir closed 9 years ago

iccir commented 9 years ago
function foo() : String { // Parse error, oops
}

var foo = function() : String { // Parse error, oops
}