Fix for change signature refactoring type resolve
Fixed #KT-37451
This commit is contained in:
+1
-1
@@ -461,7 +461,7 @@ class KotlinChangeSignatureDialog(
|
|||||||
|
|
||||||
|
|
||||||
private fun KtTypeCodeFragment.createCopy() =
|
private fun KtTypeCodeFragment.createCopy() =
|
||||||
KtPsiFactory(this).createTypeCodeFragment(text, this)
|
KtPsiFactory(this).createTypeCodeFragment(text, this.context)
|
||||||
|
|
||||||
fun PsiCodeFragment?.getTypeInfo(isCovariant: Boolean, forPreview: Boolean, reanalyse: Boolean = false): KotlinTypeInfo {
|
fun PsiCodeFragment?.getTypeInfo(isCovariant: Boolean, forPreview: Boolean, reanalyse: Boolean = false): KotlinTypeInfo {
|
||||||
if (this !is KtTypeCodeFragment) return KotlinTypeInfo(isCovariant)
|
if (this !is KtTypeCodeFragment) return KotlinTypeInfo(isCovariant)
|
||||||
|
|||||||
Reference in New Issue
Block a user