We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f13fae commit b03bea1Copy full SHA for b03bea1
src/scope.coffee
@@ -35,7 +35,8 @@ exports.Scope = class Scope
35
# super class. This can get complicated if super is being called
36
# from a closure. getMethodRecurse() will walk up the scope
37
# tree until it finds the first method object that has a name filled
38
- # in. It will return an empty method object if none was found
+ # in. It will return the topmost method object otherwise, which may
39
+ # be null if this is being called from outside a function.
40
getMethodRecurse: ->
41
if @method?.name? then @method
42
else if @parent then @parent.getMethodRecurse()
0 commit comments