From f5ebdf49e42f6431dac5ffa883d933f2b576aa02 Mon Sep 17 00:00:00 2001 From: Chad Stearns Date: Sat, 9 May 2020 18:01:22 -0400 Subject: [PATCH] More int_abs documentation --- compiler/can/src/builtins.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/can/src/builtins.rs b/compiler/can/src/builtins.rs index 930d8f16c1..b6ec801324 100644 --- a/compiler/can/src/builtins.rs +++ b/compiler/can/src/builtins.rs @@ -121,7 +121,8 @@ fn int_abs(var_store: &VarStore) -> Def { branches: vec![( // if-condition no_region( - // Int.isLt + // Int.isLt 0 n + // 0 < n call( Symbol::INT_LT, vec![Int(var_store.fresh(), 0), Var(Symbol::INT_ABS_ARG)],