Resolution: Resolve primary constructor references to primary constructor
itself if it's explicitly present in PSI
This commit is contained in:
+3
-3
@@ -1,12 +1,12 @@
|
||||
~A~class A {
|
||||
~B~class B() {
|
||||
~B()~constructor(i: Int) {}
|
||||
~B~class B~B()~() {
|
||||
~B(int)~constructor(i: Int) {}
|
||||
}
|
||||
|
||||
~foo~fun foo(~foo.a~a : `kotlin::Char`Char) = `foo.a`a`:kotlin::Char`
|
||||
~fooB~fun fooB() = `foo`foo('1')`:kotlin::Char`
|
||||
~foo.1~fun foo() : Int = (1.`kotlin::Int.plus(Int)`plus(1))`:kotlin::Int`
|
||||
~foo91~fun foo1() : `B`B = `B`B()`:B`
|
||||
~foo91~fun foo1() : `B`B = `B()`B()`:B`
|
||||
~A.a~val a : `kotlin::Int`Int
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user