FIR: don't report error on inline nested classes

This commit is contained in:
Mikhail Glukhikh
2021-03-05 15:13:37 +03:00
parent 1e4d7ff690
commit 15c3269e38
5 changed files with 9 additions and 9 deletions
@@ -4,7 +4,7 @@ FILE: inlineClassDeclaration.kt
super<R|kotlin/Any|>()
}
public final inline class B : R|kotlin/Any| {
public final inner inline class B : R|kotlin/Any| {
public constructor(x: R|kotlin/Int|): R|A.B| {
super<R|kotlin/Any|>()
}
@@ -1,5 +1,5 @@
class A {
<!INLINE_CLASS_NOT_TOP_LEVEL!>inline<!> class B(val x: Int)
<!INLINE_CLASS_NOT_TOP_LEVEL!>inline<!> inner class B(val x: Int)
fun foo() {
<!INLINE_CLASS_NOT_TOP_LEVEL!>inline<!> class C(val x: Int)
}