Place !WITH_NEW_INFERENCE directive to diagnostics test data

This commit is contained in:
Mikhail Zarechenskiy
2017-11-20 09:26:11 +03:00
parent 81b3fefa58
commit a71238bf94
468 changed files with 468 additions and 0 deletions
@@ -1,3 +1,4 @@
// !WITH_NEW_INFERENCE
import java.util.ArrayList
@<!NONE_APPLICABLE!>ArrayList<!><Int>(1, 1) fun b() {}
@@ -1,3 +1,4 @@
// !WITH_NEW_INFERENCE
fun foo(@<!UNRESOLVED_REFERENCE!>varargs<!> <!UNUSED_PARAMETER!>f<!> : Int) {}
var bar : Int = 1
@@ -1,3 +1,4 @@
// !WITH_NEW_INFERENCE
@Target(AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.EXPRESSION)
annotation class test
@@ -1,3 +1,4 @@
// !WITH_NEW_INFERENCE
@Target(AnnotationTarget.FUNCTION)
annotation class FunAnn
@@ -1,3 +1,4 @@
// !WITH_NEW_INFERENCE
@Target(AnnotationTarget.FIELD)
annotation class Field