Files
kotlin-fork/idea/testData/checker/diagnosticsMessage/instantiationOfInnerClassInQualifiedForm.kt
T
Mikhail Zarechenskiy 0ae45a2835 Add test for obsolete issue
#KT-6502 Obsolete
2017-07-07 14:20:01 +03:00

7 lines
238 B
Kotlin
Vendored

class A {
inner class XYZ
fun foo() {
val <warning>v</warning>: A.XYZ = A.<error descr="[RESOLUTION_TO_CLASSIFIER] Constructor of inner class XYZ can be called only with receiver of containing class">XYZ</error>()
}
}