mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
cross module specialization WIP
This commit is contained in:
parent
5c558a9a87
commit
79d3b0ac01
6 changed files with 335 additions and 43 deletions
|
@ -174,7 +174,11 @@ pub struct FreeVars {
|
|||
pub wildcards: Vec<Variable>,
|
||||
}
|
||||
|
||||
fn to_type(solved_type: &SolvedType, free_vars: &mut FreeVars, var_store: &mut VarStore) -> Type {
|
||||
pub fn to_type(
|
||||
solved_type: &SolvedType,
|
||||
free_vars: &mut FreeVars,
|
||||
var_store: &mut VarStore,
|
||||
) -> Type {
|
||||
use roc_types::solved_types::SolvedType::*;
|
||||
|
||||
match solved_type {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue