Add "Create secondary constructor" quick fix on NONE_APPLICABLE error #KT-22371 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-05-11 15:20:21 +09:00
committed by Nikolay Krasko
parent d32b53362d
commit 5564102a3e
4 changed files with 23 additions and 0 deletions
@@ -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)
@@ -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)