[FIR] Include generated declarations into FIR dump in tests

Also include non root package directive of FirFile to dump
This commit is contained in:
Dmitriy Novozhilov
2021-10-01 11:15:42 +03:00
committed by TeamCityServer
parent ea93d23dca
commit c60ba51f8f
33 changed files with 189 additions and 5 deletions
@@ -1,4 +1,6 @@
FILE: B.kt
package b.d
public abstract expect interface Other : R|kotlin/Any| {
}
public final expect class Another : R|kotlin/Any| {
@@ -6,6 +8,8 @@ FILE: B.kt
public final fun baz(): R|kotlin/Unit| {
}
FILE: A.kt
package a.d
public final fun foo(arg: R|b/d/Other|): R|b/d/Another|
public final fun bar(): R|kotlin/Unit| {
R|b/d/baz|()