Fix failing test because of lack of inference annotation
LINENUMBER was incremented because of added import
This commit is contained in:
+4
-1
@@ -1,6 +1,7 @@
|
||||
// LANGUAGE_VERSION: 1.3
|
||||
|
||||
import kotlin.sequences.*
|
||||
import kotlin.experimental.*
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val s = sequence {
|
||||
@@ -11,7 +12,9 @@ fun main(args: Array<String>) {
|
||||
println(s.toList())
|
||||
}
|
||||
|
||||
@UseExperimental(ExperimentalTypeInference::class)
|
||||
@BuilderInference
|
||||
suspend fun SequenceScope<Int>.awaitSeq(): Int = 42
|
||||
|
||||
// 1 LOCALVARIABLE a I L19 L23 3
|
||||
// 1 LINENUMBER 9 L19
|
||||
// 1 LINENUMBER 10 L19
|
||||
|
||||
Reference in New Issue
Block a user