Minor. Changes after review

This commit is contained in:
Stanislav Erokhin
2015-11-25 19:56:00 +03:00
parent ebc3ccbb2a
commit c08545359e
7 changed files with 23 additions and 35 deletions
@@ -260,7 +260,7 @@ object ReplaceWithAnnotationAnalyzer {
is PropertyDescriptor -> {
val outerScope = getResolutionScope(descriptor.containingDeclaration, ownerDescriptor, additionalScopes) ?: return null
val propertyHeader = JetScopeUtils.makeScopeForPropertyHeader(outerScope, descriptor)
LexicalScopeImpl(propertyHeader, descriptor, false, descriptor.extensionReceiverParameter, LexicalScopeKind.PROPERTY_ACCESSOR)
LexicalScopeImpl(propertyHeader, descriptor, false, descriptor.extensionReceiverParameter, LexicalScopeKind.PROPERTY_ACCESSOR_BODY)
}
else -> return null // something local, should not work with ReplaceWith