Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ package foo
|
||||
// A copy of stdlib run function.
|
||||
// Copied to not to depend on run implementation.
|
||||
// It's important, that the body is just `return fn()`.
|
||||
internal inline fun evaluate<T>(fn: ()->T): T = fn()
|
||||
internal inline fun <T> evaluate(fn: ()->T): T = fn()
|
||||
|
||||
internal fun test(x: Int): Int =
|
||||
evaluate {
|
||||
|
||||
Reference in New Issue
Block a user