mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
drop final suffixes
This commit is contained in:
parent
828483393a
commit
38d3d3169a
6 changed files with 40 additions and 42 deletions
|
@ -194,7 +194,7 @@ pub fn constrain_pattern(
|
|||
|
||||
let num_type = builtins::num_num(Type::Variable(var));
|
||||
|
||||
let num_type = builtins::add_numeric_bound_constr_soa(
|
||||
let num_type = builtins::add_numeric_bound_constr(
|
||||
constraints,
|
||||
&mut state.constraints,
|
||||
num_type,
|
||||
|
@ -214,7 +214,7 @@ pub fn constrain_pattern(
|
|||
&IntLiteral(num_var, precision_var, _, _, bound) => {
|
||||
// First constraint on the free num var; this improves the resolved type quality in
|
||||
// case the bound is an alias.
|
||||
let num_type = builtins::add_numeric_bound_constr_soa(
|
||||
let num_type = builtins::add_numeric_bound_constr(
|
||||
constraints,
|
||||
&mut state.constraints,
|
||||
Type::Variable(num_var),
|
||||
|
@ -245,7 +245,7 @@ pub fn constrain_pattern(
|
|||
&FloatLiteral(num_var, precision_var, _, _, bound) => {
|
||||
// First constraint on the free num var; this improves the resolved type quality in
|
||||
// case the bound is an alias.
|
||||
let num_type = builtins::add_numeric_bound_constr_soa(
|
||||
let num_type = builtins::add_numeric_bound_constr(
|
||||
constraints,
|
||||
&mut state.constraints,
|
||||
Type::Variable(num_var),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue