Fixing function types
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[inline] fun with<T>(receiver : T, body : T.{() : Unit}) = receiver.body()
|
||||
[inline] fun with<T>(receiver : T, body : {T.() : Unit}) = receiver.body()
|
||||
|
||||
fun example() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user