Fixed test data to use only annotation syntax with @

This commit is contained in:
Valentin Kipyatkov
2015-10-12 18:23:20 +03:00
parent 487501a7a4
commit 090ea37a32
83 changed files with 115 additions and 121 deletions
@@ -4,7 +4,7 @@ annotation class X(val s: String)
class A(val n: Int) {
val t = 1
internal X("1") fun <T : Number> T.<caret>foo(): Boolean = toInt() - n > 1
internal @X("1") fun <T : Number> T.<caret>foo(): Boolean = toInt() - n > 1
val u = 2
}
@@ -4,7 +4,7 @@ annotation class X(val s: String)
class A(val n: Int) {
val t = 1
internal X("1") val <T : Number> T.foo: Boolean
internal @X("1") val <T : Number> T.foo: Boolean
get() = toInt() - n > 1
val u = 2
}