Add "Constructor has non-null self reference parameter" inspection (KT-29799)

#KT-29799 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-03-07 11:46:35 +03:00
committed by Nikolay Krasko
parent 6634d7ab15
commit bcfab83d1c
8 changed files with 104 additions and 0 deletions
@@ -0,0 +1 @@
org.jetbrains.kotlin.idea.inspections.SelfReferenceConstructorParameterInspection
@@ -0,0 +1 @@
class SelfRef(val ref: SelfRef<caret>)
@@ -0,0 +1 @@
class SelfRef(val ref: SelfRef?)
@@ -0,0 +1,2 @@
// PROBLEM: none
class SelfRef(val ref: <caret>SelfRef?)