Scope function conversion: remove forced INFORMATION highlight type

This commit is contained in:
Mikhail Glukhikh
2018-02-28 13:16:21 +03:00
parent 2f6fb4091b
commit 66f3126b20
@@ -56,7 +56,7 @@ class ScopeFunctionConversionInspection : AbstractKotlinInspection() {
holder.registerProblem(
expression.calleeExpression!!,
"Call can be replaced with another scope function",
ProblemHighlightType.INFORMATION,
ProblemHighlightType.GENERIC_ERROR_OR_WARNING,
if (counterpartName == "also" || counterpartName == "let")
ConvertScopeFunctionToParameter(counterpartName)
else