Test update for new ONLY_LOCAL_RETURN diagnostic
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package test
|
||||
|
||||
inline fun <R> call(f: () -> R) : R {
|
||||
import kotlin.InlineOption.*
|
||||
|
||||
inline fun <R> call(inlineOptions(ONLY_LOCAL_RETURN) f: () -> R) : R {
|
||||
return {f()} ()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user