Fix compilation

This commit is contained in:
Zalim Bashorov
2015-12-11 15:16:08 +03:00
parent 51a8d5b9f0
commit 0b6e100aff
3 changed files with 3 additions and 3 deletions
@@ -61,7 +61,7 @@ class ChangeFunctionLiteralSignatureFix private constructor(
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>)
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)
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,
val platformClass: ClassDescriptor,
val possibleClasses: Collection<ClassDescriptor>)