Resolution: Resolve primary constructor references to primary constructor

itself if it's explicitly present in PSI
This commit is contained in:
Alexey Sedunov
2015-06-04 16:26:47 +03:00
parent b049455aa4
commit 608ce59f15
15 changed files with 36 additions and 23 deletions
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -4,4 +4,4 @@ fun foo() {
<caret>Fake()
}
//REF: (java.lang).Fake
//REF: (in java.lang.Fake).Fake()
+1 -1
View File
@@ -5,4 +5,4 @@ fun foo() {
<caret>Fake()
}
//REF: (java.lang).Fake
//REF: (in java.lang.Fake).Fake()