Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/asImports.fir.txt
T
Dmitriy Novozhilov c60ba51f8f [FIR] Include generated declarations into FIR dump in tests
Also include non root package directive of FirFile to dump
2021-10-12 17:26:34 +03:00

22 lines
563 B
Plaintext
Vendored

FILE: A.kt
package foo
public final class A : R|kotlin/Any| {
public constructor(): R|foo/A| {
super<R|kotlin/Any|>()
}
public final fun foo(): R|kotlin/Unit| {
}
}
FILE: main.kt
public final fun test_1(): R|kotlin/Unit| {
lval a: <ERROR TYPE REF: Unresolved name: A> = <Unresolved name: A>#()
lval b: R|foo/A| = R|foo/A.A|()
lval c: R|foo/A| = <Unresolved name: A>#()
}
public final fun test_2(b: R|foo/A|): R|kotlin/Unit| {
R|<local>/b|.R|foo/A.foo|()
}