EA-77626 - KNPE: AnonymousFunctionToLambdaIntention.applicabilityRange
This commit is contained in:
@@ -44,7 +44,7 @@ class AnonymousFunctionToLambdaIntention : SelfTargetingRangeIntention<KtNamedFu
|
|||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
return element.funKeyword!!.textRange
|
return element.funKeyword?.textRange
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun applyTo(element: KtNamedFunction, editor: Editor?) {
|
override fun applyTo(element: KtNamedFunction, editor: Editor?) {
|
||||||
|
|||||||
Reference in New Issue
Block a user