mirror of
https://github.com/HigherOrderCO/Kind1.git
synced 2024-10-26 12:27:36 +03:00
fix: fixed bug with no coverage showing twice
This commit is contained in:
parent
35f3f0000f
commit
917de25230
@ -241,7 +241,8 @@ impl<'a> DesugarState<'a> {
|
||||
}
|
||||
|
||||
if !unbound.is_empty() {
|
||||
self.send_err(PassError::NoCoverage(range, unbound))
|
||||
self.send_err(PassError::NoCoverage(range, unbound));
|
||||
return desugared::Expr::err(range);
|
||||
}
|
||||
|
||||
let motive = if let Some(res) = &match_.motive {
|
||||
|
Loading…
Reference in New Issue
Block a user