mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
Add canonical Expr implementation for NumPow
This commit is contained in:
parent
5bbee6217b
commit
51a6e0bde0
4 changed files with 26 additions and 2 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue