Skip to content

Commit e381e48

Browse files
Fix typo; closes #4187 (#4539)
1 parent 22d0cc1 commit e381e48

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/coffeescript/rewriter.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/rewriter.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ exports.Rewriter = class Rewriter
154154
inImplicitObject = -> inImplicit() and stackTop()?[0] is '{'
155155
# Unclosed control statement inside implicit parens (like
156156
# class declaration or if-conditionals)
157-
inImplicitControl = -> inImplicit and stackTop()?[0] is 'CONTROL'
157+
inImplicitControl = -> inImplicit() and stackTop()?[0] is 'CONTROL'
158158

159159
startImplicitCall = (j) ->
160160
idx = j ? i

0 commit comments

Comments
 (0)