Added test on callable reference to property
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class Test {
|
||||
var x: Int = 42
|
||||
}
|
||||
|
||||
fun foo(): Test {
|
||||
println(42)
|
||||
return Test()
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
foo()::x
|
||||
}
|
||||
Reference in New Issue
Block a user