JVM_IR: Implement some BE diagnostics

TODO proper diagnostics tests with BE diagnostics
This commit is contained in:
Dmitry Petrov
2020-01-31 14:29:24 +03:00
parent c9df17f2f1
commit 8ef79f932c
14 changed files with 138 additions and 43 deletions
+6 -3
View File
@@ -1,14 +1,17 @@
inline fun a(l: () -> Unit) {
b(l)
inline fun a(q: () -> Unit) {
b(q)
//check that nested not recognized as cycle
// check that nested not recognized as cycle
c {
c {
}
}
withDefaults()
}
inline fun withDefaults(x: Int = 1) = x * 2
inline fun b(p: () -> Unit) {
p()