Store multiple abilities as a VecSet

This commit is contained in:
Ayaz Hafiz 2022-10-12 11:36:44 -05:00
parent 603160dae3
commit 2011ec97c3
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 27 additions and 9 deletions

View file

@ -136,7 +136,7 @@ pub struct Module {
#[derive(Debug, Default)]
pub struct RigidVariables {
pub named: MutMap<Variable, Lowercase>,
pub able: MutMap<Variable, (Lowercase, Vec<Symbol>)>,
pub able: MutMap<Variable, (Lowercase, VecSet<Symbol>)>,
pub wildcards: VecSet<Variable>,
}