[LL FIR] FileStructure: support dangling modifier list in non-end position
The root cause of the exception is that we missed such an element, and it led to unresolved declaration during iteration over file declarations ^KT-65562 Fixed
This commit is contained in:
committed by
Space Team
parent
80240198d2
commit
31852c6c05
+2
@@ -0,0 +1,2 @@
|
||||
@MyAnn
|
||||
fin class Foo
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
Diagnostics from elements:
|
||||
for PSI element of type KtNameReferenceExpression at (1,2-7)
|
||||
UNRESOLVED_REFERENCE text ranges: [(1,6)]
|
||||
PSI: KtNameReferenceExpression at (1,2-7)
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
@MyAnn // comment
|
||||
/*comment*/ope class Foo
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
Diagnostics from elements:
|
||||
for PSI element of type KtNameReferenceExpression at (1,2-7)
|
||||
UNRESOLVED_REFERENCE text ranges: [(1,6)]
|
||||
PSI: KtNameReferenceExpression at (1,2-7)
|
||||
Reference in New Issue
Block a user