mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
Simplify advancing
This commit is contained in:
parent
2901549422
commit
70156b0a90
15 changed files with 148 additions and 290 deletions
|
@ -758,13 +758,13 @@ pub fn canonicalize_expr<'a>(
|
|||
|
||||
let region1 = Region::new(
|
||||
*binop1_position,
|
||||
binop1_position.bump_column(binop1.width()),
|
||||
binop1_position.bump_column(binop1.width() as u32),
|
||||
);
|
||||
let loc_binop1 = Loc::at(region1, *binop1);
|
||||
|
||||
let region2 = Region::new(
|
||||
*binop2_position,
|
||||
binop2_position.bump_column(binop2.width()),
|
||||
binop2_position.bump_column(binop2.width() as u32),
|
||||
);
|
||||
let loc_binop2 = Loc::at(region2, *binop2);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue