Inspection: convert initialized val to non-null type

^KT-35757 Fixed
This commit is contained in:
kvirolainen
2020-09-03 16:29:45 +02:00
committed by Vladimir Dolzhenko
parent 8b28e54584
commit 18fbf5729d
13 changed files with 149 additions and 0 deletions
+8
View File
@@ -2503,6 +2503,14 @@
language="kotlin"
key="inspection.unused.unary.operator.display.name" bundle="messages.KotlinBundle"/>
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.ConvertInitializedValToNonNullTypeInspection"
groupPath="Kotlin"
groupName="Probable bugs"
enabledByDefault="true"
level="INFO"
language="kotlin"
key="inspection.convert.initialized.val.to.non.null.type.display.name" bundle="messages.KotlinBundle"/>
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.IncompleteDestructuringInspection"
groupPath="Kotlin"
groupName="Probable bugs"
@@ -0,0 +1,5 @@
<html>
<body>
This inspection reports nullable type of initialized 'val' should be converted into non-nullable type.
</body>
</html>