Fix shortening references for receiver in MakeTypeExplicitInLambdaIntention
#KT-5474 Fixed
This commit is contained in:
@@ -71,6 +71,10 @@ public class JetPsiFactory(private val project: Project) {
|
||||
return createType("T<X, Y>").findElementAt(3)!!
|
||||
}
|
||||
|
||||
public fun createDot(): PsiElement {
|
||||
return createType("T.(X)").findElementAt(1)!!
|
||||
}
|
||||
|
||||
public fun createColon(): PsiElement {
|
||||
return createProperty("val x: Int").findElementAt(5)!!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user