Skip to content

Commit 01a512b

Browse files
committed
Kotlin: Pass on a parentId
1 parent e8f4aee commit 01a512b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/kotlin-extractor/src/main/kotlin/KotlinFileExtractor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@ open class KotlinFileExtractor(
11931193
// n + o'th parameter, where `o` is the parameter offset caused by adding any dispatch receiver to the parameter list.
11941194
// Note we don't need to add the extension receiver here because `useValueParameter` always assumes an extension receiver
11951195
// will be prepended if one exists.
1196-
val realFunctionId = useFunction<DbCallable>(f)
1196+
val realFunctionId = useFunction<DbCallable>(f, parentId, null)
11971197
DeclarationStackAdjuster(f, OverriddenFunctionAttributes(id, id, locId, nonSyntheticParams, typeParameters = listOf(), isStatic = true)).use {
11981198
val realParamsVarId = getValueParameterLabel(id, parameterTypes.size - 2)
11991199
val intType = pluginContext.irBuiltIns.intType

0 commit comments

Comments
 (0)