This commit is contained in:
Jeremy Ashkenas
2011-12-14 11:02:10 -05:00
parent 74944da211
commit 85286b8ca5
3 changed files with 18 additions and 4 deletions

View File

@@ -527,3 +527,13 @@ test "#1598: super works for static methods too", ->
'pass? ' + super
eq Child.method(), 'pass? yes'
test "#1842: Regression with bound functions within bound class methods", ->
class Store
@bound: =>
do =>
eq this, Store
Store.bound()