Fix tests: "Placing function type parameters after the function name" error
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
inline fun calc<T, R>(value : T, fn: (T)->R) : R = fn(value)
|
||||
inline fun <T, R> calc(value : T, fn: (T) -> R) : R = fn(value)
|
||||
inline fun <T> identity(value : T) : T = calc(value) {
|
||||
if (1 == 1) return it
|
||||
it
|
||||
|
||||
Reference in New Issue
Block a user