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
90 lines
2.3 KiB
Plaintext
Vendored
90 lines
2.3 KiB
Plaintext
Vendored
FILE: localEntitytNotAllowed.kt
|
|
public final object A : R|kotlin/Any| {
|
|
private constructor(): R|A| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final object B : R|kotlin/Any| {
|
|
private constructor(): R|A.B| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final object C : R|kotlin/Any| {
|
|
private constructor(): R|A.B.C| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
public abstract interface X : R|kotlin/Any| {
|
|
}
|
|
|
|
public final val a: R|kotlin/Any| = object : R|kotlin/Any| {
|
|
private constructor(): R|<anonymous>| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
local final object D : R|kotlin/Any| {
|
|
private constructor(): R|<local>/<anonymous>.D| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
local final object G : R|kotlin/Any| {
|
|
private constructor(): R|<local>/<anonymous>.D.G| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
|
|
local abstract interface Z : R|kotlin/Any| {
|
|
}
|
|
|
|
}
|
|
|
|
local abstract interface Y : R|kotlin/Any| {
|
|
}
|
|
|
|
}
|
|
|
|
public get(): R|kotlin/Any|
|
|
|
|
public final fun b(): R|kotlin/Unit| {
|
|
local final object E : R|kotlin/Any| {
|
|
private constructor(): R|<local>/E| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
local final object F : R|kotlin/Any| {
|
|
private constructor(): R|<local>/E.F| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
|
|
local abstract interface M : R|kotlin/Any| {
|
|
}
|
|
|
|
}
|
|
|
|
local abstract interface N : R|kotlin/Any| {
|
|
}
|
|
|
|
lval c: R|<anonymous>| = object : R|kotlin/Any| {
|
|
private constructor(): R|<anonymous>| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final val t: R|kotlin/String| = String(test)
|
|
public get(): R|kotlin/String|
|
|
|
|
local abstract interface U : R|kotlin/Any| {
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|