mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-22 00:09:33 +03:00
Accept a reference instead of owned value
This commit is contained in:
parent
31fad98eab
commit
54ead11f5d
@ -39,7 +39,7 @@ pub fn constrain_declaration(
|
||||
home: ModuleId,
|
||||
var_store: &VarStore,
|
||||
region: Region,
|
||||
loc_expr: Located<Expr>,
|
||||
loc_expr: &Located<Expr>,
|
||||
_declared_idents: &ImMap<Ident, (Symbol, Region)>,
|
||||
expected: Expected<Type>,
|
||||
) -> Constraint {
|
||||
|
@ -114,7 +114,7 @@ pub fn uniq_expr_with(
|
||||
home,
|
||||
&var_store,
|
||||
Region::zero(),
|
||||
loc_expr,
|
||||
&loc_expr,
|
||||
declared_idents,
|
||||
expected2,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user