Support toInt, toChar and etc as CompileTimeConstants
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package test
|
||||
|
||||
annotation class Ann(
|
||||
val b1: Double,
|
||||
val b2: Double,
|
||||
val b3: Double,
|
||||
val b4: Double
|
||||
)
|
||||
|
||||
Ann(1.0, 1.toDouble(), 1.7976931348623157E309.toDouble(), 1.7976931348623157E309) class MyClass
|
||||
|
||||
// EXPECTED: Ann[b1 = 1.0.toDouble(): jet.Double, b2 = 1.0.toDouble(): jet.Double, b3 = Infinity.toDouble(): jet.Double, b4 = Infinity.toDouble(): jet.Double]
|
||||
Reference in New Issue
Block a user