[FIR] Include generated declarations into FIR dump in tests
Also include non root package directive of FirFile to dump
This commit is contained in:
committed by
TeamCityServer
parent
ea93d23dca
commit
c60ba51f8f
+2
@@ -1,4 +1,6 @@
|
||||
FILE: TestCase1.kt
|
||||
package testsCase1
|
||||
|
||||
public final class Case : R|kotlin/Any| {
|
||||
public constructor(): R|testsCase1/Case| {
|
||||
super<R|kotlin/Any|>()
|
||||
|
||||
Vendored
+2
@@ -1,4 +1,6 @@
|
||||
FILE: User.kt
|
||||
package test
|
||||
|
||||
public final class User : R|BaseClass| {
|
||||
public constructor(): R|test/User| {
|
||||
super<R|BaseClass|>()
|
||||
|
||||
+2
@@ -1,4 +1,6 @@
|
||||
FILE: test.kt
|
||||
package some
|
||||
|
||||
public final fun test(jc: R|JavaClass|): R|kotlin/Unit| {
|
||||
R|<local>/jc|.R|/JavaClass.field|
|
||||
}
|
||||
|
||||
Vendored
+2
@@ -1,4 +1,6 @@
|
||||
FILE: test.kt
|
||||
package jvm
|
||||
|
||||
public final fun <K> select(x: R|K|, y: R|K|): R|K| {
|
||||
^select R|<local>/x|
|
||||
}
|
||||
|
||||
+4
@@ -1,4 +1,6 @@
|
||||
FILE: k.kt
|
||||
package k
|
||||
|
||||
public final class A : R|kotlin/Any| {
|
||||
public constructor(): R|k/A| {
|
||||
super<R|kotlin/Any|>()
|
||||
@@ -40,6 +42,8 @@ FILE: k.kt
|
||||
|
||||
}
|
||||
FILE: j.kt
|
||||
package j
|
||||
|
||||
public final class C : R|kotlin/Any| {
|
||||
public constructor(): R|j/C| {
|
||||
super<R|kotlin/Any|>()
|
||||
|
||||
+4
@@ -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|
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user