Types are no more rendered for annotation arguments + a swarm of tests corrected accordingly

This commit is contained in:
Mikhail Glukhikh
2015-06-29 19:54:43 +03:00
parent dde295011b
commit bae9a7d7f8
213 changed files with 604 additions and 552 deletions
@@ -1,17 +1,17 @@
package test
kotlin.deprecated(value = "Class": kotlin.String) internal final class Class {
kotlin.deprecated(value = "Class") internal final class Class {
/*primary*/ public constructor Class()
kotlin.deprecated(value = "companion object": kotlin.String) public companion object Companion {
kotlin.deprecated(value = "companion object") public companion object Companion {
/*primary*/ private constructor Companion()
}
kotlin.deprecated(value = "Inner": kotlin.String) internal final inner class Inner {
kotlin.deprecated(value = "Inner") internal final inner class Inner {
/*primary*/ public constructor Inner()
}
kotlin.deprecated(value = "Nested": kotlin.String) internal final class Nested {
kotlin.deprecated(value = "Nested") internal final class Nested {
/*primary*/ public constructor Nested()
}
}
@@ -6,18 +6,18 @@ internal final annotation class Anno : kotlin.Annotation {
internal final fun <get-t>(): java.lang.annotation.ElementType
}
test.Anno(t = ElementType.METHOD: java.lang.annotation.ElementType) internal final class Class {
test.Anno(t = ElementType.METHOD) internal final class Class {
/*primary*/ public constructor Class()
test.Anno(t = ElementType.ANNOTATION_TYPE: java.lang.annotation.ElementType) public companion object Companion {
test.Anno(t = ElementType.ANNOTATION_TYPE) public companion object Companion {
/*primary*/ private constructor Companion()
}
test.Anno(t = ElementType.PARAMETER: java.lang.annotation.ElementType) internal final inner class Inner {
test.Anno(t = ElementType.PARAMETER) internal final inner class Inner {
/*primary*/ public constructor Inner()
}
test.Anno(t = ElementType.TYPE: java.lang.annotation.ElementType) internal final class Nested {
test.Anno(t = ElementType.TYPE) internal final class Nested {
/*primary*/ public constructor Nested()
}
}
@@ -1,5 +1,5 @@
package test
java.lang.annotation.Retention(value = RetentionPolicy.RUNTIME: java.lang.annotation.RetentionPolicy) internal final annotation class Anno : kotlin.Annotation {
java.lang.annotation.Retention(value = RetentionPolicy.RUNTIME) internal final annotation class Anno : kotlin.Annotation {
/*primary*/ public constructor Anno()
}
@@ -18,7 +18,7 @@ internal final annotation class CharAnno : kotlin.Annotation {
internal final fun <get-value>(): kotlin.Char
}
test.IntAnno(value = 42: kotlin.Int) test.ShortAnno(value = 42.toShort(): kotlin.Short) test.ByteAnno(value = 42.toByte(): kotlin.Byte) test.LongAnno(value = 42.toLong(): kotlin.Long) test.CharAnno(value = \u0041 ('A'): kotlin.Char) test.BooleanAnno(value = false: kotlin.Boolean) test.FloatAnno(value = 3.14.toFloat(): kotlin.Float) test.DoubleAnno(value = 3.14.toDouble(): kotlin.Double) internal final class Class {
test.IntAnno(value = 42) test.ShortAnno(value = 42.toShort()) test.ByteAnno(value = 42.toByte()) test.LongAnno(value = 42.toLong()) test.CharAnno(value = \u0041 ('A')) test.BooleanAnno(value = false) test.FloatAnno(value = 3.14.toFloat()) test.DoubleAnno(value = 3.14.toDouble()) internal final class Class {
/*primary*/ public constructor Class()
}
@@ -10,6 +10,6 @@ internal final annotation class Anno : kotlin.Annotation {
internal final fun <get-string>(): kotlin.String
}
test.Anno(double = 3.14.toDouble(): kotlin.Double, int = 42: kotlin.Int, string = "OK": kotlin.String) internal final class Class {
test.Anno(double = 3.14.toDouble(), int = 42, string = "OK") internal final class Class {
/*primary*/ public constructor Class()
}