Find Usages: Fix exception in the search of class with default parameters in primary constructor
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetClass
|
||||
// OPTIONS: usages, constructorUsages
|
||||
class <caret>A(a: Int = 1)
|
||||
|
||||
fun test() {
|
||||
A(0)
|
||||
A()
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
New instance creation (6: 5) A(0)
|
||||
New instance creation (7: 5) A()
|
||||
Reference in New Issue
Block a user