[FIR-TEST] Add new testdata generated after changes in previous commit

This commit is contained in:
Dmitriy Novozhilov
2019-12-11 16:16:22 +03:00
parent e9c02a1cca
commit 2536fa0cd5
4578 changed files with 104067 additions and 1 deletions
@@ -0,0 +1,29 @@
// !WITH_NEW_INFERENCE
//KT-328 Local function in function literals cause exceptions
fun bar1() = {
bar1()
}
fun bar2() = {
fun foo2() = bar2()
}
//properties
//in a class
class A() {
val x = { x }
}
//in a package
val x = { x }
//KT-787 AssertionError on code 'val x = x'
val z = z
//KT-329 Assertion failure on local function
fun block(f : () -> Unit) = f()
fun bar3() = block{ <!UNRESOLVED_REFERENCE!>foo3<!>() // <-- missing closing curly bracket
fun foo3() = block{ bar3() }<!SYNTAX!><!>