Migrate diagnostic tests to 1.4

This commit is contained in:
Mikhail Zarechenskiy
2019-12-20 15:01:15 +03:00
parent 07d35a3ad1
commit 8871c8b4fd
34 changed files with 87 additions and 61 deletions
@@ -1,5 +1,5 @@
// !WITH_NEW_INFERENCE
// !LANGUAGE: +ArrayLiteralsInAnnotations
// !LANGUAGE: +ArrayLiteralsInAnnotations +BareArrayClassLiteral
import kotlin.reflect.KClass
@@ -15,7 +15,7 @@ fun test1() {}
@Foo([Int::class, String::class])
fun test2() {}
@Foo([<!ARRAY_CLASS_LITERAL_REQUIRES_ARGUMENT!>Array::class<!>])
@Foo([Array::class])
fun test3() {}
@Foo([<!CLASS_LITERAL_LHS_NOT_A_CLASS!>Gen<Int>::class<!>])