[FIR] Properly assign <local> packages to symbols
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
This commit is contained in:
committed by
Space Team
parent
cf655fd5ad
commit
f9c6af4d2a
+4
-4
@@ -27,12 +27,12 @@ FILE: localEntitytNotAllowed.kt
|
||||
}
|
||||
|
||||
local final object D : R|kotlin/Any| {
|
||||
private constructor(): R|A.<anonymous>.D| {
|
||||
private constructor(): R|<local>/<anonymous>.D| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
local final object G : R|kotlin/Any| {
|
||||
private constructor(): R|A.<anonymous>.D.G| {
|
||||
private constructor(): R|<local>/<anonymous>.D.G| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
@@ -52,12 +52,12 @@ FILE: localEntitytNotAllowed.kt
|
||||
|
||||
public final fun b(): R|kotlin/Unit| {
|
||||
local final object E : R|kotlin/Any| {
|
||||
private constructor(): R|A.E| {
|
||||
private constructor(): R|<local>/E| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
local final object F : R|kotlin/Any| {
|
||||
private constructor(): R|A.E.F| {
|
||||
private constructor(): R|<local>/E.F| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user