Inline test data structure changed
This commit is contained in:
committed by
Michael Bogdanov
parent
b37c0d3fff
commit
02c6bdeaa3
@@ -0,0 +1,12 @@
|
||||
package test
|
||||
|
||||
public class Data(val value: Int)
|
||||
|
||||
public class Input(val d: Data) {
|
||||
public fun data() : Int = 100
|
||||
}
|
||||
|
||||
public inline fun <R> use(block: ()-> R) : R {
|
||||
return block()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user