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
24 lines
610 B
Plaintext
Vendored
24 lines
610 B
Plaintext
Vendored
FILE: a.kt
|
|
public final fun main(): R|kotlin/Unit| {
|
|
local final class Local : R|B| {
|
|
public constructor(): R|<local>/Local| {
|
|
super<R|B|>()
|
|
}
|
|
|
|
protected open override val message: R|kotlin/String| = String(expression expected)
|
|
protected get(): R|kotlin/String|
|
|
|
|
}
|
|
|
|
}
|
|
FILE: b.kt
|
|
public abstract class B : R|kotlin/Any| {
|
|
public constructor(): R|B| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
protected abstract val message: R|kotlin/String|
|
|
protected get(): R|kotlin/String|
|
|
|
|
}
|