mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
Fixes #1842
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user