Add "Create secondary constructor" quick fix on NONE_APPLICABLE error #KT-22371 Fixed
This commit is contained in:
committed by
Nikolay Krasko
parent
d32b53362d
commit
5564102a3e
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
// "Create secondary constructor" "true"
|
||||
|
||||
open class A {
|
||||
constructor(x: Int, y: Int)
|
||||
constructor(x: Int, y: String)
|
||||
}
|
||||
|
||||
class B : <caret>A(1)
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
// "Create secondary constructor" "true"
|
||||
|
||||
open class A {
|
||||
constructor(x: Int, y: Int)
|
||||
constructor(x: Int, y: String)
|
||||
constructor(i: Int)
|
||||
}
|
||||
|
||||
class B : A(1)
|
||||
Reference in New Issue
Block a user