fix(kernel/builtin): make sure the if-then-else semantic attachment is not a simplifier

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-12-17 14:34:40 -08:00
parent c53233ea26
commit 33789fad4c

View file

@ -142,8 +142,6 @@ public:
return some_expr(args[3]); // if A true a b --> a
else
return some_expr(args[4]); // if A false a b --> b
} else if (num_args == 5 && args[3] == args[4]) {
return some_expr(args[3]); // if A c a a --> a
} else {
return none_expr();
}