Regression test for old issue

#KT-7656 Fixed
This commit is contained in:
Pavel V. Talanov
2016-01-21 18:26:58 +03:00
parent 1e6b3c5ae1
commit 36d5798a2e
3 changed files with 18 additions and 0 deletions
@@ -0,0 +1,11 @@
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtProperty
// OPTIONS: usages
data class A(public val field: Int) {
public val field<caret>: String
}
fun main(args: Array<String>) {
val a = A(10)
println(a.field)
}
@@ -0,0 +1 @@
Unclassified usage (10: 15) println(a.field)