docopt.coffee icon indicating copy to clipboard operation
docopt.coffee copied to clipboard

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

Open kemitchell opened this issue 10 years ago • 1 comments

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 avatar Feb 05 '15 07:02 kemitchell

Anybody home?

kemitchell avatar Oct 20 '15 16:10 kemitchell