Support plus, minus, div, mod, multiply in ConstantExpressionEvaluator

This commit is contained in:
Natalia Ukhorskaya
2013-11-08 12:09:54 +04:00
parent 50d29e0526
commit 41387c3544
21 changed files with 725 additions and 92 deletions
@@ -0,0 +1,11 @@
package test
annotation class Ann(
val d1: Double,
val d2: Double,
val d3: Double
)
Ann(1.0 + 1.0, 1.0 + 1, 1 + 1.0) class MyClass
// EXPECTED: Ann[d1 = 2.0.toDouble(): jet.Double, d2 = 2.0.toDouble(): jet.Double, d3 = 2.0.toDouble(): jet.Double]