[PSI2FIR] add test on primary constructor without constructor keyword

^KT-64900
This commit is contained in:
Dmitrii Gridin
2024-01-11 16:19:55 +01:00
committed by Space Team
parent 2c0cf9cad8
commit e60a436068
9 changed files with 50 additions and 0 deletions
@@ -0,0 +1,4 @@
// IGNORE_TREE_ACCESS: KT-64900
class Foo private () {
}
@@ -0,0 +1,7 @@
FILE: primaryConstructorWithoutConstructorKeyword.kt
public final? class Foo : R|kotlin/Any| {
private error_constructor(): R|Foo| {
LAZY_super<R|kotlin/Any|>
}
}
@@ -0,0 +1,7 @@
FILE: primaryConstructorWithoutConstructorKeyword.kt
public final? class Foo : R|kotlin/Any| {
private [ContainingClassKey=Foo] error_constructor(): R|Foo| {
super<R|kotlin/Any|>()
}
}