bed6cb7154
Previously, when no file annotations were present, the FIR element didn't have a source. By making it nullable, it will only be created when appropriate and the source will never be null. #KT-55835
237 lines
10 KiB
Plaintext
237 lines
10 KiB
Plaintext
RAW_FIR:
|
|
FILE: [ResolvedTo(RAW_FIR)] lambdaAsSAMInterface.kt
|
|
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
}
|
|
public? final? fun [ResolvedTo(RAW_FIR)] interface Foo : R|kotlin/Any| {
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] a: Arg): Arg
|
|
|
|
}
|
|
public? final? [ResolvedTo(RAW_FIR)] fun testMe([ResolvedTo(RAW_FIR)] f: Foo): R|kotlin/Unit| { LAZY_BLOCK }
|
|
public? final? [ResolvedTo(RAW_FIR)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
|
|
|
|
IMPORTS:
|
|
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
|
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
}
|
|
public? final? fun [ResolvedTo(RAW_FIR)] interface Foo : R|kotlin/Any| {
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] a: Arg): Arg
|
|
|
|
}
|
|
public? final? [ResolvedTo(RAW_FIR)] fun testMe([ResolvedTo(RAW_FIR)] f: Foo): R|kotlin/Unit| { LAZY_BLOCK }
|
|
public? final? [ResolvedTo(RAW_FIR)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
|
|
|
|
COMPILER_REQUIRED_ANNOTATIONS:
|
|
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
|
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
}
|
|
public? final? fun [ResolvedTo(RAW_FIR)] interface Foo : R|kotlin/Any| {
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] a: Arg): Arg
|
|
|
|
}
|
|
public? final? [ResolvedTo(RAW_FIR)] fun testMe([ResolvedTo(RAW_FIR)] f: Foo): R|kotlin/Unit| { LAZY_BLOCK }
|
|
public? final? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
|
|
|
|
COMPANION_GENERATION:
|
|
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
|
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
}
|
|
public? final? fun [ResolvedTo(RAW_FIR)] interface Foo : R|kotlin/Any| {
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] a: Arg): Arg
|
|
|
|
}
|
|
public? final? [ResolvedTo(RAW_FIR)] fun testMe([ResolvedTo(RAW_FIR)] f: Foo): R|kotlin/Unit| { LAZY_BLOCK }
|
|
public? final? [ResolvedTo(COMPANION_GENERATION)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
|
|
|
|
SUPER_TYPES:
|
|
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
|
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
}
|
|
public? final? fun [ResolvedTo(RAW_FIR)] interface Foo : R|kotlin/Any| {
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] a: Arg): Arg
|
|
|
|
}
|
|
public? final? [ResolvedTo(RAW_FIR)] fun testMe([ResolvedTo(RAW_FIR)] f: Foo): R|kotlin/Unit| { LAZY_BLOCK }
|
|
public? final? [ResolvedTo(SUPER_TYPES)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
|
|
|
|
TYPES:
|
|
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
|
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
}
|
|
public? final? fun [ResolvedTo(RAW_FIR)] interface Foo : R|kotlin/Any| {
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] a: Arg): Arg
|
|
|
|
}
|
|
public? final? [ResolvedTo(RAW_FIR)] fun testMe([ResolvedTo(RAW_FIR)] f: Foo): R|kotlin/Unit| { LAZY_BLOCK }
|
|
public? final? [ResolvedTo(TYPES)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
|
|
|
|
STATUS:
|
|
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
|
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
}
|
|
public? final? fun [ResolvedTo(RAW_FIR)] interface Foo : R|kotlin/Any| {
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] a: Arg): Arg
|
|
|
|
}
|
|
public? final? [ResolvedTo(RAW_FIR)] fun testMe([ResolvedTo(RAW_FIR)] f: Foo): R|kotlin/Unit| { LAZY_BLOCK }
|
|
public final [ResolvedTo(STATUS)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
|
|
|
|
EXPECT_ACTUAL_MATCHING:
|
|
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
|
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
}
|
|
public? final? fun [ResolvedTo(RAW_FIR)] interface Foo : R|kotlin/Any| {
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] a: Arg): Arg
|
|
|
|
}
|
|
public? final? [ResolvedTo(RAW_FIR)] fun testMe([ResolvedTo(RAW_FIR)] f: Foo): R|kotlin/Unit| { LAZY_BLOCK }
|
|
public final [ResolvedTo(EXPECT_ACTUAL_MATCHING)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
|
|
|
|
ARGUMENTS_OF_ANNOTATIONS:
|
|
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
|
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
}
|
|
public? final? fun [ResolvedTo(RAW_FIR)] interface Foo : R|kotlin/Any| {
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] a: Arg): Arg
|
|
|
|
}
|
|
public? final? [ResolvedTo(RAW_FIR)] fun testMe([ResolvedTo(RAW_FIR)] f: Foo): R|kotlin/Unit| { LAZY_BLOCK }
|
|
public final [ResolvedTo(ARGUMENTS_OF_ANNOTATIONS)] fun resolveMe(): R|kotlin/Unit| { LAZY_BLOCK }
|
|
|
|
CONTRACTS:
|
|
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
|
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
}
|
|
public? final? fun [ResolvedTo(RAW_FIR)] interface Foo : R|kotlin/Any| {
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] a: Arg): Arg
|
|
|
|
}
|
|
public? final? [ResolvedTo(RAW_FIR)] fun testMe([ResolvedTo(RAW_FIR)] f: Foo): R|kotlin/Unit| { LAZY_BLOCK }
|
|
public final [ResolvedTo(CONTRACTS)] fun resolveMe(): R|kotlin/Unit| {
|
|
testMe#(<L> = [ResolvedTo(RAW_FIR)] testMe@fun <implicit>.<anonymous>([ResolvedTo(RAW_FIR)] b: <implicit>): <implicit> <inline=Unknown> {
|
|
b#
|
|
}
|
|
)
|
|
}
|
|
|
|
IMPLICIT_TYPES_BODY_RESOLVE:
|
|
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
|
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
}
|
|
public? final? fun [ResolvedTo(RAW_FIR)] interface Foo : R|kotlin/Any| {
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] a: Arg): Arg
|
|
|
|
}
|
|
public? final? [ResolvedTo(RAW_FIR)] fun testMe([ResolvedTo(RAW_FIR)] f: Foo): R|kotlin/Unit| { LAZY_BLOCK }
|
|
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] fun resolveMe(): R|kotlin/Unit| {
|
|
testMe#(<L> = [ResolvedTo(RAW_FIR)] testMe@fun <implicit>.<anonymous>([ResolvedTo(RAW_FIR)] b: <implicit>): <implicit> <inline=Unknown> {
|
|
b#
|
|
}
|
|
)
|
|
}
|
|
|
|
ANNOTATIONS_ARGUMENTS_MAPPING:
|
|
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
|
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
}
|
|
public? final? fun [ResolvedTo(RAW_FIR)] interface Foo : R|kotlin/Any| {
|
|
public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] a: Arg): Arg
|
|
|
|
}
|
|
public? final? [ResolvedTo(RAW_FIR)] fun testMe([ResolvedTo(RAW_FIR)] f: Foo): R|kotlin/Unit| { LAZY_BLOCK }
|
|
public final [ResolvedTo(ANNOTATIONS_ARGUMENTS_MAPPING)] fun resolveMe(): R|kotlin/Unit| {
|
|
testMe#(<L> = [ResolvedTo(RAW_FIR)] testMe@fun <implicit>.<anonymous>([ResolvedTo(RAW_FIR)] b: <implicit>): <implicit> <inline=Unknown> {
|
|
b#
|
|
}
|
|
)
|
|
}
|
|
|
|
BODY_RESOLVE:
|
|
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
|
public? final? [ResolvedTo(RAW_FIR)] class Arg : R|kotlin/Any| {
|
|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
|
LAZY_super<R|kotlin/Any|>
|
|
}
|
|
|
|
}
|
|
public abstract fun [ResolvedTo(STATUS)] interface Foo : R|kotlin/Any| {
|
|
public abstract [ResolvedTo(STATUS)] fun foo([ResolvedTo(STATUS)] a: R|foo/Arg|): R|foo/Arg|
|
|
|
|
}
|
|
public final [ResolvedTo(CONTRACTS)] fun testMe([ResolvedTo(CONTRACTS)] f: R|foo/Foo|): R|kotlin/Unit| {
|
|
}
|
|
public final [ResolvedTo(BODY_RESOLVE)] fun resolveMe(): R|kotlin/Unit| {
|
|
R|foo/testMe|(<L> = [ResolvedTo(BODY_RESOLVE)] [MatchingParameterFunctionTypeKey=foo/Foo] testMe@fun <anonymous>([ResolvedTo(BODY_RESOLVE)] b: R|foo/Arg|): R|foo/Arg| <inline=NoInline> {
|
|
^ R|<local>/b|
|
|
}
|
|
)
|
|
}
|
|
|
|
FILE RAW TO BODY:
|
|
FILE: [ResolvedTo(IMPORTS)] lambdaAsSAMInterface.kt
|
|
public final [ResolvedTo(BODY_RESOLVE)] class Arg : R|kotlin/Any| {
|
|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Arg] constructor(): R|foo/Arg| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
public abstract fun [ResolvedTo(BODY_RESOLVE)] interface Foo : R|kotlin/Any| {
|
|
public abstract [ResolvedTo(BODY_RESOLVE)] fun foo([ResolvedTo(BODY_RESOLVE)] a: R|foo/Arg|): R|foo/Arg|
|
|
|
|
}
|
|
public final [ResolvedTo(BODY_RESOLVE)] fun testMe([ResolvedTo(BODY_RESOLVE)] f: R|foo/Foo|): R|kotlin/Unit| {
|
|
}
|
|
public final [ResolvedTo(BODY_RESOLVE)] fun resolveMe(): R|kotlin/Unit| {
|
|
R|foo/testMe|(<L> = [ResolvedTo(BODY_RESOLVE)] [MatchingParameterFunctionTypeKey=foo/Foo] testMe@fun <anonymous>([ResolvedTo(BODY_RESOLVE)] b: R|foo/Arg|): R|foo/Arg| <inline=NoInline> {
|
|
^ R|<local>/b|
|
|
}
|
|
)
|
|
}
|