Skip to content

Commit bc975e5

Browse files
committed
Prevent loop collection in endAllImplicitCalls
1 parent 26200f4 commit bc975e5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lib/coffee-script/rewriter.js

+1-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/rewriter.coffee

+1
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ class exports.Rewriter
162162
endAllImplicitCalls = ->
163163
while inImplicitCall()
164164
endImplicitCall()
165+
return
165166

166167
startImplicitObject = (j, startsLine = yes) ->
167168
idx = j ? i

0 commit comments

Comments
 (0)