mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
we are compiling
This commit is contained in:
parent
01a7fe77d4
commit
a4889fd571
6 changed files with 406 additions and 297 deletions
|
@ -61,7 +61,8 @@ pub fn add_numeric_bound_constr_soa(
|
|||
1 => {
|
||||
let actual_type = Variable(range[0]);
|
||||
let expected = Expected::ForReason(Reason::NumericLiteralSuffix, actual_type, region);
|
||||
let because_suffix = constraints.equal_types(actual_type, expected, category, region);
|
||||
let because_suffix =
|
||||
constraints.equal_types(total_num_type.clone(), expected, category, region);
|
||||
|
||||
num_constraints.extend([because_suffix]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue