From 66f3126b202b57a4bbf1766646e907cea267d0e4 Mon Sep 17 00:00:00 2001 From: Mikhail Glukhikh Date: Wed, 28 Feb 2018 13:16:21 +0300 Subject: [PATCH] Scope function conversion: remove forced INFORMATION highlight type --- .../idea/inspections/ScopeFunctionConversionInspection.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idea/src/org/jetbrains/kotlin/idea/inspections/ScopeFunctionConversionInspection.kt b/idea/src/org/jetbrains/kotlin/idea/inspections/ScopeFunctionConversionInspection.kt index 3fe727c1d34..d4a784faeab 100644 --- a/idea/src/org/jetbrains/kotlin/idea/inspections/ScopeFunctionConversionInspection.kt +++ b/idea/src/org/jetbrains/kotlin/idea/inspections/ScopeFunctionConversionInspection.kt @@ -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