Allow secondary constructors without body
#KT-6967 Fixed
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
class A {
|
||||
constructor(x: Int) {
|
||||
|
||||
}
|
||||
constructor(x: Int)
|
||||
}
|
||||
|
||||
val x = A(<!NO_VALUE_FOR_PARAMETER!>)<!>
|
||||
|
||||
Reference in New Issue
Block a user