mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Fix errors
This commit is contained in:
parent
da421068f1
commit
703ef6608e
8 changed files with 167 additions and 20 deletions
|
@ -70,6 +70,8 @@ impl TypeError {
|
|||
TypeError::UnfulfilledAbility(ab, ..) => ab.region(),
|
||||
TypeError::Exhaustive(e) => Some(e.region()),
|
||||
TypeError::CircularDef(c) => c.first().map(|ce| ce.symbol_region),
|
||||
TypeError::IngestedFileBadUtf8(_, _) => None,
|
||||
TypeError::IngestedFileUnsupportedType(_, _) => None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue