tests: Update external tests (1.1.2-dev-393)
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
inline fun foo(x: () -> String) = x()
|
||||
|
||||
fun String.id() = this
|
||||
|
||||
fun box() = foo("OK"::id)
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
inline fun go(f: () -> String) = f()
|
||||
|
||||
fun String.id(): String = this
|
||||
|
||||
fun box(): String {
|
||||
val x = "OK"
|
||||
return go(x::id)
|
||||
}
|
||||
Reference in New Issue
Block a user