Added dianostic error for non-local return on disabled inlines,
Render bytecode diagnostics in BytecodeToolWindow #KT-5584 Fixed
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
fun a() {
|
||||
c {
|
||||
return
|
||||
}
|
||||
|
||||
c {
|
||||
return@a
|
||||
}
|
||||
}
|
||||
|
||||
inline fun c(p: () -> Unit) {
|
||||
p()
|
||||
}
|
||||
Reference in New Issue
Block a user