Skip to content

"throw" errors instead of trying to "raise" them#13

Open
kemitchell wants to merge 1 commit intodocopt:masterfrom
kemitchell:master
Open

"throw" errors instead of trying to "raise" them#13
kemitchell wants to merge 1 commit intodocopt:masterfrom
kemitchell:master

Conversation

@kemitchell
Copy link
Copy Markdown

The Coffee Script port says raise when it means throw, the valid ECMAScript keyword for error-raising statements. I'm guessing the test suite checks only that an error is raised, but what it's actually detecting is the not-defined error for raise itself.

The diff was longer than I expected when I re-compiled with the most recent Coffee Script, so I edited the .js by hand instead.

@kemitchell
Copy link
Copy Markdown
Author

Anybody home?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant