Refine diagnostics reported on implicit constructor delegation call
- Do not report anything else if primary's call expected - Do not repeat EXPLICIT_DELEGATION_CALL_REQUIRED #KT-7230 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
open class A(p1: String)
|
||||
|
||||
class B() : A("") {
|
||||
<!PRIMARY_CONSTRUCTOR_DELEGATION_CALL_EXPECTED!>constructor(s: String)<!> {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user