Skip to content

Commit

Permalink
Fix jashkenas#4774: export default followed by an object should alw…
Browse files Browse the repository at this point in the history
…ays work, even if the object contains braces. `default` shouldn't suppress a newline, we should handle it in the grammar the same way returning an implicit object is handled
  • Loading branch information
GeoffreyBooth committed Nov 12, 2017
1 parent cbc695b commit ec63990
Show file tree
Hide file tree
Showing 6 changed files with 126 additions and 102 deletions.
4 changes: 4 additions & 0 deletions lib/coffeescript/grammar.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/coffeescript/lexer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ec63990

Please sign in to comment.