changed resolution candidates order
for foo() first try 'this.foo()', then 'foo()'
This commit is contained in:
+1
-1
@@ -181,11 +181,11 @@ public class TaskPrioritizer {
|
||||
TaskPrioritizer.<D>splitLexicallyLocalDescriptors(functions, scope.getContainingDeclaration(), locals, nonlocals);
|
||||
|
||||
result.addLocalExtensions(locals);
|
||||
result.addNonLocalExtensions(nonlocals);
|
||||
|
||||
for (ReceiverValue implicitReceiver : implicitReceivers) {
|
||||
doComputeTasks(scope, implicitReceiver, name, result, context, callableDescriptorCollector);
|
||||
}
|
||||
result.addNonLocalExtensions(nonlocals);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user