Skip to content
Browse files

One more tweak to get defer's working in callchains

  • Loading branch information...
1 parent 81c9d57 commit f8533fbb69c3ae24e4bf402c26eda36959bd8e1e @maxtaco committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/rewriter.coffee
View
2 src/rewriter.coffee
@@ -292,7 +292,7 @@ IMPLICIT_FUNC = ['IDENTIFIER', 'SUPER', ')', 'CALL_END', ']', 'INDEX_END', '@
# If preceded by an `IMPLICIT_FUNC`, indicates a function invocation.
IMPLICIT_CALL = [
'IDENTIFIER', 'NUMBER', 'STRING', 'JS', 'REGEX', 'NEW', 'PARAM_START', 'CLASS'
- 'IF', 'TRY', 'SWITCH', 'THIS', 'BOOL', 'UNARY', 'SUPER'
+ 'IF', 'TRY', 'SWITCH', 'THIS', 'BOOL', 'UNARY', 'SUPER', 'DEFER',
'@', '->', '=>', '[', '(', '{', '--', '++'
]

0 comments on commit f8533fb

Please sign in to comment.
Something went wrong with that request. Please try again.