mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
Check complete ability implementations during canonicalization
This commit is contained in:
parent
37ab06b0a3
commit
7586a8a083
7 changed files with 275 additions and 30 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue