blob: b5b3526dc8c70fc1f9ec7d9f0a35acfef066f55b [file]
inline fun a(q: () -> Unit) {
b(q)
// check that nested not recognized as cycle
c {
c {
}
}
withDefaults()
}
inline fun withDefaults(x: Int = 1) = x * 2
inline fun b(p: () -> Unit) {
p()
a(p)
}
inline fun c(p: () -> Unit) {
p()
}