Files
kotlin-fork/analysis/low-level-api-fir/testData/fileStructure/danglingAnnotationClassLevelScript.lazy.resolve.txt
T
Dmitrii Gridin 12dc6b1ebc [FIR] FirRenderer: render name for scripts
A script name is important information, so it is better to render it.
This also will fix the inconsistency with redundant space after 'SCRIPT:'.
2023-09-19 14:03:29 +00:00

47 lines
2.3 KiB
Plaintext
Vendored

FILE: [ResolvedTo(BODY_RESOLVE)] danglingAnnotationClassLevelScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-danglingAnnotationClassLevelScript.kts>
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(BODY_RESOLVE)] class Foo : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|Foo| {
super<R|kotlin/Any|>()
}
[ResolvedTo(BODY_RESOLVE)] @R|kotlin/Suppress|[Types](names = vararg(String())) @R|kotlin/annotation/MustBeDocumented|[Types]() <DANGLING MODIFIER: Top level declaration expected>
}
public final [ResolvedTo(BODY_RESOLVE)] class Bar : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|Bar| {
super<R|kotlin/Any|>()
}
[ResolvedTo(BODY_RESOLVE)] @R|kotlin/Suppress|[Types](names = vararg(String())) @R|kotlin/annotation/MustBeDocumented|[Types]() <DANGLING MODIFIER: Top level declaration expected>
}
public final [ResolvedTo(BODY_RESOLVE)] class Outer : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|Outer| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] class Inner : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|Outer.Inner| {
super<R|kotlin/Any|>()
}
[ResolvedTo(BODY_RESOLVE)] @R|kotlin/Suppress|[Types](names = vararg(String())) @R|kotlin/annotation/MustBeDocumented|[Types]() <DANGLING MODIFIER: Top level declaration expected>
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class Local : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|<local>/Local| {
super<R|kotlin/Any|>()
}
[ResolvedTo(BODY_RESOLVE)] @R|kotlin/Suppress|[Types](names = vararg(String())) @R|kotlin/annotation/MustBeDocumented|[Types]() <DANGLING MODIFIER: Top level declaration expected>
}
}
}