[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,5 +1,7 @@
Module: m1
FILE: base.kt
package hello
public final class Hello : R|kotlin/Any| {
public constructor(msg: R|kotlin/String|): R|hello/Hello| {
super<R|kotlin/Any|>()
@@ -20,6 +22,8 @@ FILE: base.kt
}
Module: m2
FILE: user.kt
package test
public final fun foo(hello: R|hello/Hello|): R|kotlin/String| {
^foo R|<local>/hello|.R|hello/Hello.msg|
}