Introduce inspection "async result unused" #KT-24433 Fixed

This commit is contained in:
Mikhail Glukhikh
2018-05-15 18:42:12 +03:00
parent d0c045e4ba
commit ffcfa51fbf
13 changed files with 180 additions and 1 deletions
+10 -1
View File
@@ -2846,7 +2846,7 @@
/>
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.coroutines.RedundantAsyncInspection"
displayName="Redundant async call"
displayName="Redundant 'async' call"
groupPath="Kotlin"
groupName="Style issues"
enabledByDefault="true"
@@ -2854,6 +2854,15 @@
language="kotlin"
/>
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.coroutines.AsyncResultUnusedInspection"
displayName="Result of 'async' is not used"
groupPath="Kotlin"
groupName="Probable bugs"
enabledByDefault="true"
level="WARNING"
language="kotlin"
/>
<referenceImporter implementation="org.jetbrains.kotlin.idea.quickfix.KotlinReferenceImporter"/>
<fileType.fileViewProviderFactory filetype="KJSM" implementationClass="com.intellij.psi.ClassFileViewProviderFactory"/>