Check complete ability implementations during canonicalization

This commit is contained in:
Ayaz Hafiz 2022-07-19 14:15:40 -04:00
parent 37ab06b0a3
commit 7586a8a083
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
7 changed files with 275 additions and 30 deletions

View file

@ -1,4 +1,4 @@
use roc_collections::VecMap;
use roc_collections::{VecMap, VecSet};
use roc_module::ident::Ident;
use roc_module::symbol::{IdentId, IdentIds, ModuleId, Symbol};
use roc_problem::can::RuntimeError;
@ -10,7 +10,7 @@ use crate::abilities::PendingAbilitiesStore;
use bitvec::vec::BitVec;
// ability -> member names
pub(crate) type PendingAbilitiesInScope = VecMap<Symbol, Vec<Symbol>>;
pub(crate) type PendingAbilitiesInScope = VecMap<Symbol, VecSet<Symbol>>;
#[derive(Clone, Debug)]
pub struct Scope {