[FIR] do not treat external ide annotations as real one

Such annotations are supposed to affect only diagnostic warnings

^KT-62310 Fixed
This commit is contained in:
Dmitrii Gridin
2023-10-05 12:38:35 +02:00
committed by Space Team
parent 2cac922cd0
commit b2c8d7e777
19 changed files with 348 additions and 29 deletions
@@ -3,12 +3,12 @@ FIR element: FirSimpleFunctionImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
public final [ResolvedTo(BODY_RESOLVE)] fun test(): R|kotlin/String| {
public final [ResolvedTo(BODY_RESOLVE)] fun test(): R|kotlin/String!| {
^test R|/ClassWithExternalAnnotatedMembers.ClassWithExternalAnnotatedMembers|().R|/ClassWithExternalAnnotatedMembers.externalNotNullMethod|()
}
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] usage.kt
public final [ResolvedTo(BODY_RESOLVE)] fun test(): R|kotlin/String| {
public final [ResolvedTo(BODY_RESOLVE)] fun test(): R|kotlin/String!| {
^test R|/ClassWithExternalAnnotatedMembers.ClassWithExternalAnnotatedMembers|().R|/ClassWithExternalAnnotatedMembers.externalNotNullMethod|()
}