Deparentesize expression in ConstantExpressionEvaluator

This commit is contained in:
Natalia Ukhorskaya
2013-11-08 16:20:01 +04:00
parent 210899af22
commit b7b957ffd2
5 changed files with 49 additions and 4 deletions
@@ -0,0 +1,7 @@
package test
annotation class Ann(i: Int)
Ann(@A 1) class MyClass
// EXPECTED: Ann[i = 1.toInt(): jet.Int]
@@ -0,0 +1,7 @@
package test
annotation class Ann(i: Int)
Ann((1 + 2) * 2) class MyClass
// EXPECTED: Ann[i = 6.toInt(): jet.Int]