[FIR] Fix incorrect diagnostic behaviour + several enum diagnostics

This commit is contained in:
Nick
2020-08-03 18:01:58 +03:00
committed by Mikhail Glukhikh
parent b76f757d47
commit f74eb07203
18 changed files with 283 additions and 21 deletions
@@ -7,8 +7,8 @@ data class A2(val y: String, val z: Int) {
constructor(x: String): this(x, 0)
}
data class A3 {
<!PRIMARY_CONSTRUCTOR_REQUIRED_FOR_DATA_CLASS!>data class A3 {
constructor()
}
}<!>
data class A4 internal constructor()