Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyphenated names for functions #162

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

Hyphenated names for functions #162

ayatkevich opened this issue Aug 14, 2012 · 2 comments
Labels

Comments

@ayatkevich
Copy link

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

@satyr
Copy link
Owner

satyr commented Aug 14, 2012

Ow. Fixing shortly.

@satyr satyr closed this as completed in 9c3aa96 Aug 14, 2012
@vendethiel
Copy link
Contributor

LINK gkz/LiveScript#143

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants