Scope function conversion: remove forced INFORMATION highlight type
This commit is contained in:
@@ -56,7 +56,7 @@ class ScopeFunctionConversionInspection : AbstractKotlinInspection() {
|
|||||||
holder.registerProblem(
|
holder.registerProblem(
|
||||||
expression.calleeExpression!!,
|
expression.calleeExpression!!,
|
||||||
"Call can be replaced with another scope function",
|
"Call can be replaced with another scope function",
|
||||||
ProblemHighlightType.INFORMATION,
|
ProblemHighlightType.GENERIC_ERROR_OR_WARNING,
|
||||||
if (counterpartName == "also" || counterpartName == "let")
|
if (counterpartName == "also" || counterpartName == "let")
|
||||||
ConvertScopeFunctionToParameter(counterpartName)
|
ConvertScopeFunctionToParameter(counterpartName)
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user