@@ -627,8 +627,8 @@ class X {
627627 else -> listOf ()
628628 }
629629
630- fun getFunctionLabel (f : IrFunction , classTypeArguments : List <IrTypeArgument >? = null) : String {
631- return getFunctionLabel(f.parent, getFunctionShortName(f), f.valueParameters, f.returnType, f.extensionReceiverParameter, getFunctionTypeParameters(f), classTypeArguments )
630+ fun getFunctionLabel (f : IrFunction , classTypeArgsIncludingOuterClasses : List <IrTypeArgument >? = null) : String {
631+ return getFunctionLabel(f.parent, getFunctionShortName(f), f.valueParameters, f.returnType, f.extensionReceiverParameter, getFunctionTypeParameters(f), classTypeArgsIncludingOuterClasses )
632632 }
633633
634634 fun getEnclosingClass (it : IrDeclarationParent ): IrClass ? =
@@ -645,10 +645,10 @@ class X {
645645 returnType : IrType ,
646646 extensionReceiverParameter : IrValueParameter ? ,
647647 functionTypeParameters : List <IrTypeParameter >,
648- classTypeArguments : List <IrTypeArgument >?
648+ classTypeArgsIncludingOuterClasses : List <IrTypeArgument >?
649649 ): String {
650- val parentId = useDeclarationParent(parent, false , classTypeArguments , true )
651- return getFunctionLabel(parent, parentId, name, parameters, returnType, extensionReceiverParameter, functionTypeParameters, classTypeArguments )
650+ val parentId = useDeclarationParent(parent, false , classTypeArgsIncludingOuterClasses , true )
651+ return getFunctionLabel(parent, parentId, name, parameters, returnType, extensionReceiverParameter, functionTypeParameters, classTypeArgsIncludingOuterClasses )
652652 }
653653
654654 fun getFunctionLabel (f : IrFunction , parentId : Label <out DbElement >, classTypeArgsIncludingOuterClasses : List <IrTypeArgument >? ) =
@@ -751,13 +751,13 @@ class X {
751751 return id
752752 }
753753
754- fun <T : DbCallable > useFunction (f : IrFunction , classTypeArguments : List <IrTypeArgument >? = null): Label <out T > {
754+ fun <T : DbCallable > useFunction (f : IrFunction , classTypeArgsIncludingOuterClasses : List <IrTypeArgument >? = null): Label <out T > {
755755 if (f.isLocalFunction()) {
756756 val ids = getLocallyVisibleFunctionLabels(f)
757757 @Suppress(" UNCHECKED_CAST" )
758758 return ids.function as Label <out T >
759759 } else {
760- return useFunctionCommon<T >(f, getFunctionLabel(f, classTypeArguments ))
760+ return useFunctionCommon<T >(f, getFunctionLabel(f, classTypeArgsIncludingOuterClasses ))
761761 }
762762 }
763763
0 commit comments