Switch kotlin version to 1.8
with appropriate fixes in testdata, tests and other places.
This commit is contained in:
+2
-2
@@ -1,11 +1,11 @@
|
||||
// !LANGUAGE: -RangeUntilOperator
|
||||
|
||||
class A {
|
||||
<!UNSUPPORTED_FEATURE("The feature "range until operator" is only available since language version 1.8")!>operator<!> fun rangeUntil(other: A): Iterable<A> = TODO()
|
||||
<!UNSUPPORTED_FEATURE("The feature "range until operator" is disabled")!>operator<!> fun rangeUntil(other: A): Iterable<A> = TODO()
|
||||
}
|
||||
|
||||
fun main(n: A, f: A) {
|
||||
for (i in f<!UNSUPPORTED_FEATURE("The feature "range until operator" is only available since language version 1.8")!>..<<!>n) {
|
||||
for (i in f<!UNSUPPORTED_FEATURE("The feature "range until operator" is disabled")!>..<<!>n) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user