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 authored and michaelficarra committed Jul 7, 2011
1 parent 9d3510a commit 4af47f0
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 4af47f0

Please sign in to comment.