Adjust testData: get rid of obsolete annotations

This commit is contained in:
Denis Zharkov
2015-06-09 20:30:52 +03:00
parent 053dcf3abf
commit c9f79c2d05
193 changed files with 322 additions and 322 deletions
@@ -3,4 +3,4 @@ package test
annotation class A
annotation class B
class Class([A] val x: Int, [B] y: String)
class Class(@[A] val x: Int, @[B] y: String)
@@ -3,4 +3,4 @@ package test
annotation class A
annotation class B
enum class E([A] val x: String, [B] val y: Int)
enum class E(@[A] val x: String, @[B] val y: Int)
@@ -2,4 +2,4 @@ package test
annotation class A
fun Int.foo([A] x: Int) {}
fun Int.foo(@[A] x: Int) {}
@@ -4,5 +4,5 @@ package test
annotation class Anno
class Class {
fun String.foo([Anno] x: Int) = 42
fun String.foo(@[Anno] x: Int) = 42
}
@@ -5,5 +5,5 @@ annotation class A
class Class {
var Int.foo: Int
get() = this
set([A] value) {}
set(@[A] value) {}
}
@@ -3,5 +3,5 @@ package test
annotation class Anno
class Class {
fun foo([Anno] x: String) {}
fun foo(@[Anno] x: String) {}
}
@@ -4,5 +4,5 @@ package test
annotation class Anno
interface Trait {
fun foo([Anno] x: String) = 42
fun foo(@[Anno] x: String) = 42
}
@@ -4,7 +4,7 @@ package test
annotation class A(val s: String)
class Outer {
class Nested([A("nested")] val x: String)
class Nested(@[A("nested")] val x: String)
inner class Inner([A("inner")] val y: String)
inner class Inner(@[A("inner")] val y: String)
}
@@ -5,6 +5,6 @@ annotation class B
annotation class C
annotation class D
fun foo([A B] x: Int, [A C] y: Double, [B C D] z: String) {}
fun foo(@[A B] x: Int, @[A C] y: Double, @[B C D] z: String) {}
fun bar([A B C D] x: Int) {}
fun bar(@[A B C D] x: Int) {}
@@ -5,5 +5,5 @@ annotation class A
class Class {
var foo: Int
get() = 42
set([A] value) {}
set(@[A] value) {}
}
@@ -2,4 +2,4 @@ package test
annotation class Anno
fun foo([Anno] x: Int) {}
fun foo(@[Anno] x: Int) {}
@@ -5,4 +5,4 @@ annotation class B
var foo: Int
get() = 42
set([A B] value) {}
set(@[A B] value) {}