Switch kotlin version to 1.8

with appropriate fixes in testdata, tests and other
places.
This commit is contained in:
Ilya Chernikov
2022-06-09 17:07:50 +02:00
parent 7fa459044f
commit bb996c1b27
179 changed files with 1038 additions and 978 deletions
+2 -2
View File
@@ -12,9 +12,9 @@ class Foo<T> {
fun use(arg: Array<String>, s: Collection<String>, x: Foo<String>) {
arr(<!NON_VARARG_SPREAD_ERROR!>*<!>arg)
arr(<!NON_VARARG_SPREAD_WARNING!>*<!>s.toArray())
arr(<!NON_VARARG_SPREAD_ERROR!>*<!>s.toArray())
arr(<!NON_VARARG_SPREAD_ERROR!>*<!>s.toArray2())
arr(<!NON_VARARG_SPREAD_WARNING!>*<!>toArray3(s))
arr(<!NON_VARARG_SPREAD_ERROR!>*<!>toArray3(s))
arr(<!NON_VARARG_SPREAD_ERROR!>*<!>x + x)
arr(<!NON_VARARG_SPREAD_ERROR!>*<!>(x + x))
}