Check annotation constructor parameter types

This commit is contained in:
Natalia.Ukhorskaya
2013-07-04 11:25:42 +04:00
parent 96cb7da025
commit 33ddd713b7
12 changed files with 188 additions and 7 deletions
@@ -1,5 +1,4 @@
annotation class AString(val value: String)
annotation class AStringNullable(val value: String?)
annotation class AChar(val value: Char)
annotation class AInt(val value: Int)
annotation class AByte(val value: Byte)
@@ -11,7 +10,6 @@ class Test {
class object {
val vstring: String = "Test"
val vstringNullable: String? = "Test"
val vchar: Char = 'c'
val vint: Int = 10
val vbyte: Byte = 11