fix tests in org.jetbrains.kotlin.codegen.generated

This commit is contained in:
Michael Nedzelsky
2015-09-04 20:04:47 +03:00
parent de9b5695ae
commit a40c80e90b
4 changed files with 6 additions and 6 deletions
@@ -1,6 +1,6 @@
//NO_CHECK_LAMBDA_INLINING
import test.*
fun box(): String {
internal fun box(): String {
return bar { "OK" }.run()
}
@@ -1,10 +1,10 @@
package test
interface A<T> {
internal interface A<T> {
fun run(): T;
}
inline fun bar(inlineOptions(InlineOption.ONLY_LOCAL_RETURN) y: () -> String) = object : A<String> {
internal inline fun bar(inlineOptions(InlineOption.ONLY_LOCAL_RETURN) y: () -> String) = object : A<String> {
override fun run() : String {
return call(y)
}