Inline function: handle callable references through lambdas
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
|
||||
fun <caret>foo(x: Int) = x
|
||||
|
||||
val y = ::foo
|
||||
|
||||
fun bar(x: Int) = foo(x * x)
|
||||
Reference in New Issue
Block a user