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
+2 -2
View File
@@ -1,9 +1,9 @@
var xxxx = 1
~SimpleClass~class SimpleClass(x : Int) {
~SimpleClass~class SimpleClass~SimpleClass()~(x : Int) {
fun foo() = x
}
fun foo() {
`SimpleClass`SimpleClass(1).`!`xxxx
`SimpleClass()`SimpleClass(1).`!`xxxx
}