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
25 lines
663 B
Plaintext
Vendored
25 lines
663 B
Plaintext
Vendored
FILE: localAnnotationClass.kt
|
|
public final fun foo(): R|kotlin/Unit| {
|
|
local final annotation class Ann : R|kotlin/Annotation| {
|
|
public constructor(): R|<local>/Ann| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
|
|
@R|<local>/Ann|() local final class Local : R|kotlin/Any| {
|
|
public constructor(): R|<local>/Local| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
local final annotation class Nested : R|kotlin/Annotation| {
|
|
public constructor(): R|<local>/Local.Nested| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|