Add canonical Expr implementation for NumPow

This commit is contained in:
Dimitar Apostolov 2020-09-10 13:42:18 +02:00
parent 5bbee6217b
commit 51a6e0bde0
4 changed files with 26 additions and 2 deletions

View file

@ -522,7 +522,7 @@ pub fn lowlevel_borrow_signature(arena: &Bump, op: LowLevel) -> &[bool] {
ListWalkRight => arena.alloc_slice_copy(&[borrowed, irrelevant, owned]),
Eq | NotEq | And | Or | NumAdd | NumSub | NumMul | NumGt | NumGte | NumLt | NumLte
| NumCompare | NumDivUnchecked | NumRemUnchecked => {
| NumCompare | NumDivUnchecked | NumRemUnchecked | NumPow => {
arena.alloc_slice_copy(&[irrelevant, irrelevant])
}