Skip to content

Commit

Permalink
second part of fixing #1416
Browse files Browse the repository at this point in the history
  • Loading branch information
thejh committed Jun 21, 2011
1 parent 8b2884e commit 73af3b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/nodes.js

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

2 changes: 1 addition & 1 deletion src/nodes.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ exports.Call = class Call extends Base
# Tag this invocation as creating a new instance.
newInstance: ->
base = @variable.base or @variable
if base instanceof Call
if base instanceof Call and not base.isNew
base.newInstance()
else
@isNew = true
Expand Down

0 comments on commit 73af3b1

Please sign in to comment.