You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -103,7 +122,7 @@ public class SpecifyTypeExplicitlyIntention : SelfTargetingIntention<KtCallableD
103
122
assert(!exprType.isError) { "Unexpected error type, should have been checked before: "+ declaration.getElementTextWithContext() +", type = "+ exprType }
104
123
105
124
val project = declaration.project
106
-
val expression = createTypeExpressionForTemplate(exprType)
125
+
val expression = createTypeExpressionForTemplate(exprType, declaration)
Copy file name to clipboardExpand all lines: idea/src/org/jetbrains/kotlin/idea/refactoring/introduce/introduceVariable/KotlinInplaceVariableIntroducer.java
Copy file name to clipboardExpand all lines: idea/src/org/jetbrains/kotlin/idea/refactoring/introduce/introduceVariable/KotlinVariableInplaceIntroducer.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -109,7 +109,7 @@ public class KotlinVariableInplaceIntroducer(
0 commit comments