drop final suffixes

This commit is contained in:
Folkert 2022-03-02 21:30:38 +01:00
parent 828483393a
commit 38d3d3169a
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
6 changed files with 40 additions and 42 deletions

View file

@ -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),