mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
Add error message when imports
are missing
This commit is contained in:
parent
1086189d76
commit
39feabe502
2 changed files with 27 additions and 1 deletions
|
@ -3400,7 +3400,7 @@ fn to_imports_report<'a>(
|
|||
}
|
||||
}
|
||||
|
||||
EImports::Imports(pos) => {
|
||||
EImports::Imports(pos) | EImports::IndentImports(pos) => {
|
||||
let surroundings = Region::new(start, pos);
|
||||
let region = LineColumnRegion::from_pos(lines.convert_pos(pos));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue