Skip to content

Commit 799bc6e

Browse files
Julian RosseGeoffreyBooth
authored andcommitted
Restrict indented return arg to object (#4605)
* throw multiline implicit object [Fixes #3199] * only return * fix from code review * test error on non-object * test error on call indented non-object * unique test names
1 parent e4bf163 commit 799bc6e

File tree

7 files changed

+222
-162
lines changed

7 files changed

+222
-162
lines changed

lib/coffee-script/grammar.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/coffee-script/lexer.js

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)