mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Correctly generate type constraints for required symbols in platform
This commit is contained in:
parent
e8fbda44fc
commit
c7142da116
7 changed files with 35 additions and 17 deletions
|
@ -1300,7 +1300,7 @@ pub fn constrain_decls(
|
|||
constraint
|
||||
}
|
||||
|
||||
fn constrain_def_pattern(
|
||||
pub fn constrain_def_pattern(
|
||||
constraints: &mut Constraints,
|
||||
env: &Env,
|
||||
loc_pattern: &Loc<Pattern>,
|
||||
|
@ -1706,7 +1706,7 @@ fn constrain_def(
|
|||
}
|
||||
}
|
||||
|
||||
fn constrain_def_make_constraint(
|
||||
pub fn constrain_def_make_constraint(
|
||||
constraints: &mut Constraints,
|
||||
new_rigid_variables: Vec<Variable>,
|
||||
new_infer_variables: Vec<Variable>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue