f9c6af4d2a
This prevents `FirConflictsExpressionChecker.kt` from missing conflicting local functions. It used to due to inconsistencies in assigning `<local>`, and this commit makes it a bit more straightforward. The change in KtClassTypeQualifierRenderer prevents `FirOverrideImplementTest.testLocalClass` from failing in `intellij`. It didn't fail for callables, because `KtCallableSignatureRenderer` doesn't try to render packages. ^KT-59186 Fixed
23 lines
805 B
Plaintext
23 lines
805 B
Plaintext
FILE: [ResolvedTo(BODY_RESOLVE)] initBlockScript.kts
|
|
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
|
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
|
|
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
|
public [ResolvedTo(BODY_RESOLVE)] constructor(): R|A| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
init {
|
|
[ResolvedTo(RAW_FIR)] lval x: R|kotlin/Int| = Int(10)
|
|
local final [ResolvedTo(RAW_FIR)] class B : R|kotlin/Any| {
|
|
public [ResolvedTo(RAW_FIR)] constructor(): R|<local>/B| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|