Create From Usage: Create class by constructor call
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
|
||||
class A {
|
||||
class B {
|
||||
fun test() = Foo(2, "2")
|
||||
}
|
||||
}
|
||||
|
||||
class Foo(i: Int, s: String) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user