Resolution: Resolve primary constructor references to primary constructor
itself if it's explicitly present in PSI
This commit is contained in:
+1
-1
@@ -2,4 +2,4 @@
|
||||
|
||||
package foo
|
||||
|
||||
// REF: (kotlin).deprecated
|
||||
// REF: (in kotlin.deprecated).deprecated(kotlin.String,kotlin.ReplaceWith)
|
||||
|
||||
@@ -4,4 +4,4 @@ package foo
|
||||
|
||||
import kotlin.deprecated as D
|
||||
|
||||
// REF: (kotlin).deprecated
|
||||
// REF: (in kotlin.deprecated).deprecated(kotlin.String,kotlin.ReplaceWith)
|
||||
|
||||
+1
-1
@@ -7,4 +7,4 @@ fun main(args : Array<String>) {
|
||||
var a = <caret>IntArray(array(1, 2, 3))
|
||||
}
|
||||
|
||||
// REF: (kotlin).IntArray
|
||||
// REF: (in kotlin.IntArray).IntArray(Int)
|
||||
+1
-1
@@ -4,4 +4,4 @@ fun foo() {
|
||||
<caret>Fake()
|
||||
}
|
||||
|
||||
//REF: (java.lang).Fake
|
||||
//REF: (in java.lang.Fake).Fake()
|
||||
+1
-1
@@ -5,4 +5,4 @@ fun foo() {
|
||||
<caret>Fake()
|
||||
}
|
||||
|
||||
//REF: (java.lang).Fake
|
||||
//REF: (in java.lang.Fake).Fake()
|
||||
Reference in New Issue
Block a user