FlatLang / Flat

(Deprecated) Soon-to-be legacy Flat compiler all in one
6 stars 0 forks source link

Invalid identifiers work as closure names #378

Closed BSteffaniak closed 7 years ago

BSteffaniak commented 7 years ago
func(123() -> String) {

}

123 is not a valid identifier, but passes as a closure. Validate that it is a valid identifier before returning closure declaration.