Data class must have at least one argument is reported on constructor parameter list now, if any #KT-9999 Fixed

This commit is contained in:
Mikhail Glukhikh
2015-11-13 18:12:42 +03:00
parent 86c37deaee
commit dd43674426
4 changed files with 14 additions and 2 deletions
@@ -10,3 +10,5 @@ data class A2(val y: String, val z: Int) {
data class <!PRIMARY_CONSTRUCTOR_REQUIRED_FOR_DATA_CLASS, DATA_CLASS_WITHOUT_PARAMETERS!>A3<!> {
constructor()
}
data class A4 internal constructor<!DATA_CLASS_WITHOUT_PARAMETERS!>()<!>