mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
Pass 1 of polymorphic specialization of defs
This commit is contained in:
parent
293bc6b15b
commit
7182180622
5 changed files with 309 additions and 257 deletions
|
@ -440,7 +440,7 @@ impl Env {
|
|||
const DEFAULT_POOLS: usize = 8;
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
struct Pools(Vec<Vec<Variable>>);
|
||||
pub struct Pools(Vec<Vec<Variable>>);
|
||||
|
||||
impl Default for Pools {
|
||||
fn default() -> Self {
|
||||
|
@ -2868,7 +2868,7 @@ fn instantiate_rigids_help(subs: &mut Subs, max_rank: Rank, initial: Variable) {
|
|||
}
|
||||
}
|
||||
|
||||
fn deep_copy_var_in(
|
||||
pub fn deep_copy_var_in(
|
||||
subs: &mut Subs,
|
||||
rank: Rank,
|
||||
pools: &mut Pools,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue