@@ -552,7 +552,7 @@ open class KotlinFileExtractor(
552552 logger.warnElement(" Expected annotation property to define a getter" , prop)
553553 } else {
554554 val getterId = useFunction<DbMethod >(getter)
555- val exprId = extractAnnotationValueExpression(v, id, i, " {${ getterId} }" , getter.returnType, extractEnumTypeAccesses)
555+ val exprId = extractAnnotationValueExpression(v, id, i, " {$getterId }" , getter.returnType, extractEnumTypeAccesses)
556556 if (exprId != null ) {
557557 tw.writeAnnotValue(id, getterId, exprId)
558558 }
@@ -587,7 +587,7 @@ open class KotlinFileExtractor(
587587 extractAnnotation(v, parent, idx, extractEnumTypeAccesses, contextLabel)
588588 }
589589 is IrVararg -> {
590- tw.getLabelFor<DbArrayinit >(" @\" annotationarray;{${ parent} };$contextLabel \" " ).also { arrayId ->
590+ tw.getLabelFor<DbArrayinit >(" @\" annotationarray;{$parent };$contextLabel \" " ).also { arrayId ->
591591 // Use the context type (i.e., the type the annotation expects, not the actual type of the array)
592592 // because the Java extractor fills in array types using the same technique. These should only
593593 // differ for generic annotations.
@@ -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