Support toInt, toChar and etc as CompileTimeConstants

This commit is contained in:
Natalia Ukhorskaya
2013-11-06 12:27:56 +04:00
parent f218bd1df2
commit 0b1dd2d2be
14 changed files with 297 additions and 76 deletions
@@ -0,0 +1,10 @@
package test
annotation class Ann(
val b1: Long,
val b2: Long
)
Ann(1, 1.toLong()) class MyClass
// EXPECTED: Ann[b1 = 1.toLong(): jet.Long, b2 = 1.toLong(): jet.Long]