mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-19 03:44:23 -05:00
subtle bug in the order of the rewriter rules was causing some if/else chains to get confused by implicit indentation
This commit is contained in:
@@ -45,8 +45,8 @@ re::rewrite: (tokens) ->
|
||||
this.remove_mid_expression_newlines()
|
||||
this.move_commas_outside_outdents()
|
||||
this.close_open_calls_and_indexes()
|
||||
this.add_implicit_parentheses()
|
||||
this.add_implicit_indentation()
|
||||
this.add_implicit_parentheses()
|
||||
this.ensure_balance(BALANCED_PAIRS)
|
||||
this.rewrite_closing_parens()
|
||||
this.tokens
|
||||
|
||||
Reference in New Issue
Block a user