mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Give better error messages when provides is missing in header
This commit is contained in:
parent
a891fbbe78
commit
bf2c01554f
1 changed files with 1 additions and 1 deletions
|
@ -3469,7 +3469,7 @@ fn to_provides_report<'a>(
|
|||
}
|
||||
}
|
||||
|
||||
EProvides::Provides(pos) => {
|
||||
EProvides::Provides(pos) | EProvides::IndentProvides(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