Add "Constructor has non-null self reference parameter" inspection (KT-29799)
#KT-29799 Fixed
This commit is contained in:
committed by
Nikolay Krasko
parent
6634d7ab15
commit
bcfab83d1c
@@ -0,0 +1 @@
|
||||
org.jetbrains.kotlin.idea.inspections.SelfReferenceConstructorParameterInspection
|
||||
@@ -0,0 +1 @@
|
||||
class SelfRef(val ref: SelfRef<caret>)
|
||||
+1
@@ -0,0 +1 @@
|
||||
class SelfRef(val ref: SelfRef?)
|
||||
@@ -0,0 +1,2 @@
|
||||
// PROBLEM: none
|
||||
class SelfRef(val ref: <caret>SelfRef?)
|
||||
Reference in New Issue
Block a user