KT-6244 Overloads with no default parameters should take over ones with defaults
#KT-6244 Fixed
This commit is contained in:
+3
-3
@@ -14,8 +14,8 @@ open class B1 {
|
||||
}
|
||||
|
||||
class A1 : B1 {
|
||||
<!EXPLICIT_DELEGATION_CALL_REQUIRED!>constructor()<!>
|
||||
constructor(x: Int) : <!OVERLOAD_RESOLUTION_AMBIGUITY!>super<!>()
|
||||
constructor()
|
||||
constructor(x: Int) : super()
|
||||
}
|
||||
|
||||
// --------------------------
|
||||
@@ -39,4 +39,4 @@ open class B3 {
|
||||
class A3 : B3 {
|
||||
<!EXPLICIT_DELEGATION_CALL_REQUIRED!>constructor()<!>
|
||||
constructor(x: Int) : <!INVISIBLE_MEMBER!>super<!>()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user