[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// !LANGUAGE: +NewInference
|
||||
|
||||
fun main() {
|
||||
val list = listOf(A())
|
||||
list.forEach(A::foo)
|
||||
list.forEach {
|
||||
it.foo()
|
||||
}
|
||||
}
|
||||
|
||||
class A {
|
||||
@ExperimentalTime
|
||||
fun foo() {
|
||||
println("a")
|
||||
}
|
||||
}
|
||||
|
||||
@Experimental(level = Experimental.Level.ERROR)
|
||||
annotation class ExperimentalTime
|
||||
Reference in New Issue
Block a user