aboutsummaryrefslogtreecommitdiff
path: root/src/Analysis
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-10-03 15:57:16 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-10-03 15:57:16 +0400
commita52e1d543d22fdacf87ec00988b753d2d1107c1d (patch)
tree0b27f4aa91494d715044af79dead49c6e4f3fc00 /src/Analysis
parente93b629e4b2fa70330d94b8cb77f3ae34d1a9960 (diff)
downloaddokka-a52e1d543d22fdacf87ec00988b753d2d1107c1d.tar.gz
dokka-a52e1d543d22fdacf87ec00988b753d2d1107c1d.tar.bz2
dokka-a52e1d543d22fdacf87ec00988b753d2d1107c1d.zip
Work on cross-references.
Diffstat (limited to 'src/Analysis')
-rw-r--r--src/Analysis/CompilerAPI.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Analysis/CompilerAPI.kt b/src/Analysis/CompilerAPI.kt
index 032076e5..03d4dde6 100644
--- a/src/Analysis/CompilerAPI.kt
+++ b/src/Analysis/CompilerAPI.kt
@@ -80,7 +80,7 @@ public fun getFunctionInnerScope(outerScope: JetScope, descriptor: FunctionDescr
val redeclarationHandler = RedeclarationHandler.DO_NOTHING
val functionScope = WritableScopeImpl(outerScope, descriptor, redeclarationHandler, "Function ${descriptor.getName()} scope")
- val receiver = descriptor.getReceiverParameter()
+ val receiver = descriptor.getExtensionReceiverParameter()
if (receiver != null) {
functionScope.setImplicitReceiver(receiver)
}
@@ -99,7 +99,7 @@ public fun getPropertyInnerScope(outerScope: JetScope, descriptor: PropertyDescr
val redeclarationHandler = RedeclarationHandler.DO_NOTHING
val propertyScope = WritableScopeImpl(outerScope, descriptor, redeclarationHandler, "Property ${descriptor.getName()} scope")
- val receiver = descriptor.getReceiverParameter()
+ val receiver = descriptor.getExtensionReceiverParameter()
if (receiver != null) {
propertyScope.setImplicitReceiver(receiver)
}