Minor code corrections on code review

This commit is contained in:
Valentin Kipyatkov
2015-05-15 14:44:41 +03:00
parent cdf6229fff
commit 56c3f7b7db
3 changed files with 8 additions and 6 deletions
@@ -33,7 +33,7 @@ public fun JetScope.getImplicitReceiversWithInstance(): List<ReceiverParameterDe
var current: DeclarationDescriptor? = getContainingDeclaration()
while (current != null) {
if (current is PropertyAccessorDescriptor) {
current = (current as PropertyAccessorDescriptor).getCorrespondingProperty()
current = current.getCorrespondingProperty()
}
withInstance.add(current)