FIR IDE: fix unresolved file annotations arguments

This commit is contained in:
Ilya Kirillov
2021-04-06 15:37:32 +02:00
parent 790cafa671
commit a9fc3dd1ea
6 changed files with 61 additions and 10 deletions
+3 -3
View File
@@ -1,13 +1,13 @@
@file:kotlin.Deprecated("message")
@file:Suppress(BAR)
@file:Suppress(<error descr="[UNRESOLVED_REFERENCE] Unresolved reference: BAR">BAR</error>)
@file:Suppress(BAZ)
@<error descr="Expecting \"file:\" prefix for file annotations">k</error>otlin.Deprecated("message")
@<error descr="Expecting \"file:\" prefix for file annotations">S</error>uppress(BAR)
@<error descr="Expecting \"file:\" prefix for file annotations">S</error>uppress(<error descr="[UNRESOLVED_REFERENCE] Unresolved reference: BAR">BAR</error>)
@<error descr="Expecting \"file:\" prefix for file annotations">S</error>uppress(BAZ)
@file:myAnnotation(1, "string")
@file:boo.myAnnotation(1, BAR)
@file:boo.myAnnotation(1, <error descr="[UNRESOLVED_REFERENCE] Unresolved reference: BAR">BAR</error>)
@file:myAnnotation(N, BAZ)
@<error descr="Expecting \"file:\" prefix for file annotations">m</error>yAnnotation(1, "string")
@@ -1 +1 @@
@file:<error descr="[UNRESOLVED_REFERENCE] Unresolved reference: suppress">suppress</error>(return a)
@file:<error descr="[UNRESOLVED_REFERENCE] Unresolved reference: suppress">suppress</error>(return <error descr="[UNRESOLVED_REFERENCE] Unresolved reference: a">a</error>)
+1 -1
View File
@@ -1,4 +1,4 @@
FILE: main.kt
public? final? [TYPES] fun foofoo(): R|kotlin/Int| {
public? final? [RAW_FIR] fun foofoo(): Int {
^foofoo barbar#()
}