Allow secondary constructors without body
#KT-6967 Fixed
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
class X<T>(val t: T) {
|
||||
constructor(t: T, i: Int) : <!NONE_APPLICABLE!>this<!>(i) {
|
||||
}
|
||||
constructor(t: T, i: Int) : <!NONE_APPLICABLE!>this<!>(i)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user