Skip to content

Commit 66f3126

Browse files
committed
Scope function conversion: remove forced INFORMATION highlight type
1 parent 2f6fb40 commit 66f3126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

idea/src/org/jetbrains/kotlin/idea/inspections/ScopeFunctionConversionInspection.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class ScopeFunctionConversionInspection : AbstractKotlinInspection() {
5656
holder.registerProblem(
5757
expression.calleeExpression!!,
5858
"Call can be replaced with another scope function",
59-
ProblemHighlightType.INFORMATION,
59+
ProblemHighlightType.GENERIC_ERROR_OR_WARNING,
6060
if (counterpartName == "also" || counterpartName == "let")
6161
ConvertScopeFunctionToParameter(counterpartName)
6262
else

0 commit comments

Comments
 (0)