fixes #1274: {}=a() and []=a() compile to false instead of a()

This commit is contained in:
Michael Ficarra
2011-04-09 09:54:45 -04:00
parent 3453bfa513
commit 230dea1243
2 changed files with 0 additions and 4 deletions

View File

@@ -931,7 +931,6 @@ exports.Assign = class Assign extends Base
{value} = this
{objects} = @variable.base
unless olen = objects.length
return false if top
code = value.compile o
return if o.level >= LEVEL_OP then "(#{code})" else code
isObject = @variable.isObject()