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

@ -1733,7 +1733,7 @@ fn run_low_level<'a, 'ctx, 'env>(
}
NumAdd | NumSub | NumMul | NumLt | NumLte | NumGt | NumGte | NumRemUnchecked
| NumDivUnchecked => {
| NumDivUnchecked | NumPow => {
debug_assert_eq!(args.len(), 2);
let (lhs_arg, lhs_layout) = load_symbol_and_layout(env, scope, &args[0]);