6bfbec8c88
// TODO: we could generate anonymous function instead of lambda expression when there is a return
10 lines
174 B
Plaintext
Vendored
10 lines
174 B
Plaintext
Vendored
// WITH_RUNTIME
|
|
// SKIP_ERRORS_AFTER
|
|
// TODO: 'return' is not allowed here
|
|
fun foo() {
|
|
if (!true) {
|
|
throw AssertionError({
|
|
return
|
|
}())
|
|
}
|
|
} |