Hyphenated names for functions #162

Closed
ayatkevich opened this Issue Aug 14, 2012 · 2 comments

Comments

Projects
None yet
3 participants

Last char of the hyphenated name for the function will be used as first argument

For example:
function hyphenated-name then void
Compiles to:
function hyphenatedName(e){}

Hyphenated name for the function can not be used with arguments

Example:
function hyphenated-name arg then void
Raises:
SyntaxError: invalid assign on line 1

Owner

satyr commented Aug 14, 2012

Ow. Fixing shortly.

@satyr satyr closed this in 9c3aa96 Aug 14, 2012

Contributor

vendethiel commented Aug 14, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment