FIR: Optimize SupertypeComputationSession::breakLoops

This commit is contained in:
Denis Zharkov
2020-01-29 12:33:55 +03:00
parent a44fa8db50
commit ac2b5beb4e
3 changed files with 14 additions and 10 deletions
@@ -9,8 +9,8 @@ class Foo
class Bar
typealias YBar = ZBar
typealias ZBar = <!OTHER_ERROR!>YBar<!>
typealias YBar = <!OTHER_ERROR!>ZBar<!>
typealias ZBar = YBar
fun Foo.foo(body: Foo.() -> Unit) = body()
fun Foo.zbar(body: ZBar.() -> Unit) = Bar().body()
@@ -21,4 +21,4 @@ fun test() {
foo {}
}
}
}
}