data deprecations (empty constructors, non val/var arguments, vararg, superclasses) are now errors, relevant tests fixed

This commit is contained in:
Mikhail Glukhikh
2015-10-16 17:10:39 +03:00
parent cae0388a57
commit a4af6a3076
32 changed files with 41 additions and 156 deletions
@@ -3,7 +3,7 @@
package test
@dependency.A @dependency.B @dependency.C @kotlin.data public final class Annotations public constructor() {
@dependency.A @dependency.B @dependency.C public final class Annotations public constructor() {
@dependency.A @dependency.B @dependency.C @kotlin.inline public final val p: @dependency.B kotlin.Int /* compiled code */
@dependency.A @dependency.B @dependency.C @kotlin.inline public final fun f(@dependency.A @dependency.B @dependency.C i: @dependency.A kotlin.Int): kotlin.Unit { /* compiled code */ }
@@ -2,7 +2,7 @@ package test
import dependency.*
data @A("a") @B(1) @C class Annotations {
@A("a") @B(1) @C class Annotations {
inline @A("f") @B(2) @C fun f(@A("i") @B(3) @C i: @A("int") Int) {
}