JVM_IR: Implement some BE diagnostics
TODO proper diagnostics tests with BE diagnostics
This commit is contained in:
+6
-3
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user