fixing assigning to @properties within an expression

This commit is contained in:
Jeremy Ashkenas
2010-02-03 18:16:31 -05:00
parent 9b7cfe87b5
commit dc7d0f1568
2 changed files with 3 additions and 3 deletions

View File

@@ -346,7 +346,7 @@ module CoffeeScript
end
def properties?
return !@properties.empty?
return !@properties.empty? || @base.is_a?(ThisNode)
end
def array?