Skip to content

Commit

Permalink
Fix typo 'I trying' -> 'I am trying'
Browse files Browse the repository at this point in the history
  • Loading branch information
lsculv committed Nov 22, 2023
1 parent 31b62e9 commit 3c05690
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/compiler/load/tests/test_reporting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4269,7 +4269,7 @@ mod test_reporting {
@r###"
── SYNTAX PROBLEM ──────────────────────────────────────── /code/proj/Main.roc ─
I trying to parse a record field access here:
I am trying to parse a record field access here:
4│ foo.bar.
^
Expand Down Expand Up @@ -5667,7 +5667,7 @@ All branches in an `if` must have the same type!
@r###"
── SYNTAX PROBLEM ──────────────────────────────────────── /code/proj/Main.roc ─
I trying to parse a record field access here:
I am trying to parse a record field access here:
4│ Num.add . 23
^
Expand Down
4 changes: 2 additions & 2 deletions crates/reporting/src/error/canonicalize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1177,7 +1177,7 @@ fn to_bad_ident_expr_report<'b>(
let region = LineColumnRegion::from_pos(lines.convert_pos(pos));

alloc.stack([
alloc.reflow(r"I trying to parse a record field access here:"),
alloc.reflow(r"I am trying to parse a record field access here:"),
alloc.region_with_subregion(lines.convert_region(surroundings), region),
alloc.concat([
alloc.reflow("So I expect to see a lowercase letter next, like "),
Expand Down Expand Up @@ -1377,7 +1377,7 @@ fn to_bad_ident_pattern_report<'b>(
let region = LineColumnRegion::from_pos(lines.convert_pos(pos));

alloc.stack([
alloc.reflow(r"I trying to parse a record field accessor here:"),
alloc.reflow(r"I am trying to parse a record field accessor here:"),
alloc.region_with_subregion(lines.convert_region(surroundings), region),
alloc.concat([
alloc.reflow("Something like "),
Expand Down

0 comments on commit 3c05690

Please sign in to comment.