@@ -660,13 +660,13 @@ open class KotlinFileExtractor(
660
660
}
661
661
}
662
662
663
- fun extractFunction (f : IrFunction , parentId : Label <out DbReftype >, extractBody : Boolean , extractMethodAndParameterTypeAccesses : Boolean , typeSubstitution : TypeSubstitution ? , classTypeArgsIncludingOuterClasses : List <IrTypeArgument >? , idOverride : Label <DbMethod >? = null, locOverride : Label < DbLocation > ? = null ) =
663
+ fun extractFunction (f : IrFunction , parentId : Label <out DbReftype >, extractBody : Boolean , extractMethodAndParameterTypeAccesses : Boolean , typeSubstitution : TypeSubstitution ? , classTypeArgsIncludingOuterClasses : List <IrTypeArgument >? , idOverride : Label <DbMethod >? = null) =
664
664
if (isFake(f))
665
665
null
666
666
else
667
- forceExtractFunction(f, parentId, extractBody, extractMethodAndParameterTypeAccesses, typeSubstitution, classTypeArgsIncludingOuterClasses, idOverride, locOverride )
667
+ forceExtractFunction(f, parentId, extractBody, extractMethodAndParameterTypeAccesses, typeSubstitution, classTypeArgsIncludingOuterClasses, idOverride, null )
668
668
669
- fun forceExtractFunction (f : IrFunction , parentId : Label <out DbReftype >, extractBody : Boolean , extractMethodAndParameterTypeAccesses : Boolean , typeSubstitution : TypeSubstitution ? , classTypeArgsIncludingOuterClasses : List <IrTypeArgument >? , idOverride : Label <DbMethod >? = null , locOverride : Label <DbLocation >? = null ): Label <out DbCallable > {
669
+ fun forceExtractFunction (f : IrFunction , parentId : Label <out DbReftype >, extractBody : Boolean , extractMethodAndParameterTypeAccesses : Boolean , typeSubstitution : TypeSubstitution ? , classTypeArgsIncludingOuterClasses : List <IrTypeArgument >? , idOverride : Label <DbMethod >? , locOverride : Label <DbLocation >? ): Label <out DbCallable > {
670
670
with (" function" , f) {
671
671
DeclarationStackAdjuster (f).use {
672
672
@@ -4052,7 +4052,7 @@ open class KotlinFileExtractor(
4052
4052
// we would need to compose generic type substitutions -- for example, if we're implementing
4053
4053
// T UnaryOperator<T>.apply(T t) here, we would need to compose substitutions so we can implement
4054
4054
// the real underlying R Function<T, R>.apply(T t).
4055
- forceExtractFunction(samMember, classId, extractBody = false , extractMethodAndParameterTypeAccesses = true , typeSub, classTypeArgs, idOverride = ids.function, locOverride = tw.getLocation(e))
4055
+ forceExtractFunction(samMember, classId, extractBody = false , extractMethodAndParameterTypeAccesses = true , typeSub, classTypeArgs, ids.function, tw.getLocation(e))
4056
4056
4057
4057
// body
4058
4058
val blockId = tw.getFreshIdLabel<DbBlock >()
0 commit comments