Fixed: Get class method instead of instance method

When asking a protocol for a specific class method we asked each super protocol for an instance method.

Thanks Frank for finding this!
This commit is contained in:
Martin Carlberg
2017-04-11 12:30:16 +02:00
parent f18074bf49
commit d0cd976246
+1 -1
View File
@@ -584,7 +584,7 @@ ProtocolDef.prototype.getClassMethod = function(name) {
for (var i = 0, size = protocols.length; i < size; i++) {
var protocol = protocols[i],
method = protocol.getInstanceMethod(name);
method = protocol.getClassMethod(name);
if (method)
return method;