Create From Usage: Create class by constructor call
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
|
||||
fun run<T>(f: () -> T) = f()
|
||||
|
||||
fun test() {
|
||||
run { <caret>Foo() }
|
||||
}
|
||||
Reference in New Issue
Block a user