Create from Usage: Add test for KT-14500
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
// "Create extension function 'Test.invoke'" "true"
|
||||
class Test
|
||||
|
||||
fun test() {
|
||||
var t = Test()
|
||||
t{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private operator fun Test.invoke(function: () -> Unit) {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
Reference in New Issue
Block a user