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
21 lines
640 B
Plaintext
Vendored
21 lines
640 B
Plaintext
Vendored
FILE: kt53819.kt
|
|
public final fun bar(): R|kotlin/Unit| {
|
|
local final class Foo : R|kotlin/Any| {
|
|
private final var _x: R|kotlin/Int|
|
|
private get(): R|kotlin/Int|
|
|
private set(value: R|kotlin/Int|): R|kotlin/Unit|
|
|
|
|
public constructor(x: R|kotlin/Int|): R|<local>/Foo| {
|
|
super<R|kotlin/Any|>()
|
|
this@R|<local>/Foo|.R|<local>/_x| = R|<local>/x|
|
|
}
|
|
|
|
public final val x: R|kotlin/Int|
|
|
public get(): R|kotlin/Int| {
|
|
^ this@R|<local>/Foo|.R|<local>/_x|
|
|
}
|
|
|
|
}
|
|
|
|
}
|