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
@@ -3,7 +3,7 @@
annotation class X(val s: String)
class A(val n: Int) {
internal X("1") val <T : Number> T.<caret>foo: Boolean
internal @X("1") val <T : Number> T.<caret>foo: Boolean
get() = toInt() - n > 1
}
@@ -3,7 +3,7 @@
annotation class X(val s: String)
class A(val n: Int) {
internal X("1") fun <T : Number> T.getFoo(): Boolean = toInt() - n > 1
internal @X("1") fun <T : Number> T.getFoo(): Boolean = toInt() - n > 1
}
fun test() {