[NI] Update test data

This commit is contained in:
Stanislav Erokhin
2018-05-19 16:24:54 +03:00
parent a4c4f048de
commit 18b65e7bcf
12 changed files with 61 additions and 17 deletions
@@ -2,7 +2,7 @@
fun foo(@<!UNRESOLVED_REFERENCE!>varargs<!> <!UNUSED_PARAMETER!>f<!> : Int) {}
var bar : Int = 1
set(@<!UNRESOLVED_REFERENCE!>varargs<!> <!OI;UNUSED_PARAMETER!>v<!>) {}
set(@<!UNRESOLVED_REFERENCE!>varargs<!> <!UNUSED_PARAMETER!>v<!>) {}
val x : (Int) -> Int = {@<!UNRESOLVED_REFERENCE!>varargs<!> <!NI;TYPE_MISMATCH, TYPE_MISMATCH, UNINITIALIZED_VARIABLE!>x<!> <!SYNTAX!>: Int -> x<!>}
@@ -5,7 +5,7 @@ annotation class test
fun foo(@test <!UNUSED_PARAMETER!>f<!> : Int) {}
var bar : Int = 1
set(@test <!OI;UNUSED_PARAMETER!>v<!>) {}
set(@test <!UNUSED_PARAMETER!>v<!>) {}
val x : (Int) -> Int = {@test <!NI;TYPE_MISMATCH, TYPE_MISMATCH, UNINITIALIZED_VARIABLE!>x<!> <!SYNTAX!>: Int -> x<!>} // todo fix parser annotation on lambda parameter