Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/asImports.txt
T
2020-03-19 09:51:01 +03:00

20 lines
546 B
Plaintext
Vendored

FILE: A.kt
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|()
}