[FIR] Add correctly reported diagnostics to testdata

This commit is contained in:
Dmitriy Novozhilov
2021-06-30 13:19:26 +03:00
committed by TeamCityServer
parent 1f1065d858
commit 0ab4770f02
5 changed files with 8 additions and 27 deletions
@@ -1,20 +0,0 @@
// !DIAGNOSTICS: -UNUSED_VARIABLE -INFIX_MODIFIER_REQUIRED
inline var value: (p: Int) -> String
get() = {"123" }
set(s: (p: Int) -> String) {
s(11)
s.invoke(11)
s invoke 11
val z = s
}
inline var value2: Int.(p: Int) -> String
get() = {"123" }
set(ext: Int.(p: Int) -> String) {
11.ext(11)
11.ext(11)
val p = ext
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// !DIAGNOSTICS: -UNUSED_VARIABLE -INFIX_MODIFIER_REQUIRED
inline var value: (p: Int) -> String