mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
Update error text
fix error text
This commit is contained in:
parent
f323fe6534
commit
ab000a5b49
2 changed files with 6 additions and 4 deletions
|
@ -535,9 +535,10 @@ fn to_expr_report<'a>(
|
|||
let doc = alloc.stack(vec![
|
||||
alloc.reflow(r"I am partway through parsing an expression, but I got stuck here:"),
|
||||
alloc.region_with_subregion(lines.convert_region(surroundings), region),
|
||||
alloc.concat(vec![alloc.reflow(
|
||||
"Looks like the indentation ends prematurely after an expression",
|
||||
)]),
|
||||
alloc.concat(vec![
|
||||
alloc.reflow("Looks like the indentation ends prematurely here. "),
|
||||
alloc.reflow("Did you mean to have another expression after this line?"),
|
||||
]),
|
||||
]);
|
||||
|
||||
Report {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue