Create From Usage: Create class by constructor call
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// "Create class 'Foo'" "false"
|
||||
// ACTION: Create function 'Foo'
|
||||
// ACTION: Remove parameter 's'
|
||||
// ACTION: Split property declaration
|
||||
// ERROR: No value passed for parameter s
|
||||
|
||||
class Foo(i: Int, s: String)
|
||||
|
||||
fun test() {
|
||||
val a = Foo(2<caret>)
|
||||
}
|
||||
Reference in New Issue
Block a user