Add inspection to detect use of callable reference as a lambda body
So #KT-17053 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
53e11cbeb5
commit
0eceef1519
@@ -2128,6 +2128,13 @@
|
||||
language="JAVA"
|
||||
/>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.MoveSuspiciousCallableReferenceIntoParenthesesInspection"
|
||||
displayName="Suspicious callable reference used as lambda result"
|
||||
groupName="Kotlin"
|
||||
enabledByDefault="true"
|
||||
level="WEAK WARNING"
|
||||
language="kotlin"
|
||||
/>
|
||||
|
||||
<referenceImporter implementation="org.jetbrains.kotlin.idea.quickfix.KotlinReferenceImporter"/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user