Support plus, minus, div, mod, multiply in ConstantExpressionEvaluator
This commit is contained in:
@@ -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]
|
||||
Reference in New Issue
Block a user