mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
Fix failing compilation in Expr2
This commit is contained in:
parent
3b7596dd34
commit
fe85af8d03
5 changed files with 48 additions and 13 deletions
|
@ -191,6 +191,7 @@ fn build_effect_always(
|
|||
let def_annotation = roc_can::def::Annotation {
|
||||
signature,
|
||||
introduced_variables,
|
||||
annotation_var: var_store.fresh(),
|
||||
aliases: SendMap::default(),
|
||||
region: Region::zero(),
|
||||
};
|
||||
|
@ -403,6 +404,7 @@ fn build_effect_map(
|
|||
let def_annotation = roc_can::def::Annotation {
|
||||
signature,
|
||||
introduced_variables,
|
||||
annotation_var: var_store.fresh(),
|
||||
aliases: SendMap::default(),
|
||||
region: Region::zero(),
|
||||
};
|
||||
|
@ -570,6 +572,7 @@ fn build_effect_after(
|
|||
let def_annotation = roc_can::def::Annotation {
|
||||
signature,
|
||||
introduced_variables,
|
||||
annotation_var: var_store.fresh(),
|
||||
aliases: SendMap::default(),
|
||||
region: Region::zero(),
|
||||
};
|
||||
|
@ -742,6 +745,7 @@ pub fn build_host_exposed_def(
|
|||
let def_annotation = roc_can::def::Annotation {
|
||||
signature: annotation.typ,
|
||||
introduced_variables: annotation.introduced_variables,
|
||||
annotation_var: var_store.fresh(),
|
||||
aliases: annotation.aliases,
|
||||
region: Region::zero(),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue