Support or, and, xor and etc in ConstantExpressionEvaluator

This commit is contained in:
Natalia Ukhorskaya
2013-11-08 13:19:01 +04:00
parent 41387c3544
commit f8f55799b9
4 changed files with 51 additions and 0 deletions
@@ -0,0 +1,11 @@
package test
annotation class Ann(
val b1: Boolean,
val b2: Boolean,
val b3: Boolean
)
Ann(true and false, false or true, true xor false) class MyClass
// EXPECTED: Ann[b1 = false: jet.Boolean, b2 = true: jet.Boolean, b3 = true: jet.Boolean]