Skip to content


Dashes in function name counts as argument #143

vendethiel opened this Issue · 2 comments

4 participants


Hi, I've found a little issue that can bit you if you use a dashed-named function with parameters.

function dash-ed then compiles to function dashEd(d) {}
function dashEd then compiles correctly to function dashEd() {}


This also means function a-b c then doesn't compile; it's lexed function aB b c then, invalid assign

@vendethiel vendethiel referenced this issue in satyr/coco

Hyphenated names for functions #162

@gkz gkz closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.