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
27 lines
828 B
Plaintext
27 lines
828 B
Plaintext
KT element: KtClass
|
|
FIR element: FirRegularClassImpl
|
|
FIR source kind: KtRealSourceElementKind
|
|
|
|
FIR element rendered:
|
|
local final [ResolvedTo(BODY_RESOLVE)] class X : R|kotlin/Any| {
|
|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=X] constructor(): R|<local>/X| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/String|
|
|
|
|
}
|
|
|
|
FIR FILE:
|
|
FILE: [ResolvedTo(IMPORTS)] localClass.kt
|
|
public final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/Unit| {
|
|
local final [ResolvedTo(BODY_RESOLVE)] class X : R|kotlin/Any| {
|
|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=X] constructor(): R|<local>/X| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final [ResolvedTo(BODY_RESOLVE)] fun y(): R|kotlin/String|
|
|
|
|
}
|
|
|
|
} |