Fix compilation
This commit is contained in:
@@ -61,7 +61,7 @@ class ChangeFunctionLiteralSignatureFix private constructor(
|
|||||||
text)
|
text)
|
||||||
}
|
}
|
||||||
|
|
||||||
companion object : KotlinSingleIntentionActionFactoryWithDelegate<KtFunctionLiteral, Data>() {
|
companion object : KotlinSingleIntentionActionFactoryWithDelegate<KtFunctionLiteral, Companion.Data>() {
|
||||||
data class Data(val functionLiteral: KtFunctionLiteral, val descriptor: FunctionDescriptor, val parameterTypes: List<KotlinType>)
|
data class Data(val functionLiteral: KtFunctionLiteral, val descriptor: FunctionDescriptor, val parameterTypes: List<KotlinType>)
|
||||||
|
|
||||||
override fun getElementOfInterest(diagnostic: Diagnostic): KtFunctionLiteral? {
|
override fun getElementOfInterest(diagnostic: Diagnostic): KtFunctionLiteral? {
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ abstract class ChangeFunctionSignatureFix(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
companion object : KotlinSingleIntentionActionFactoryWithDelegate<KtCallElement, Data>() {
|
companion object : KotlinSingleIntentionActionFactoryWithDelegate<KtCallElement, Companion.Data>() {
|
||||||
data class Data(val callElement: KtCallElement, val descriptor: CallableDescriptor)
|
data class Data(val callElement: KtCallElement, val descriptor: CallableDescriptor)
|
||||||
|
|
||||||
override fun getElementOfInterest(diagnostic: Diagnostic): KtCallElement? {
|
override fun getElementOfInterest(diagnostic: Diagnostic): KtCallElement? {
|
||||||
|
|||||||
@@ -148,7 +148,7 @@ class MapPlatformClassToKotlinFix(
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
companion object : KotlinSingleIntentionActionFactoryWithDelegate<KtReferenceExpression, Data>() {
|
companion object : KotlinSingleIntentionActionFactoryWithDelegate<KtReferenceExpression, Companion.Data>() {
|
||||||
data class Data(val element: KtReferenceExpression,
|
data class Data(val element: KtReferenceExpression,
|
||||||
val platformClass: ClassDescriptor,
|
val platformClass: ClassDescriptor,
|
||||||
val possibleClasses: Collection<ClassDescriptor>)
|
val possibleClasses: Collection<ClassDescriptor>)
|
||||||
|
|||||||
Reference in New Issue
Block a user