mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 20:28:02 +00:00
Merge branch 'main' into allow-try-in-statements
This commit is contained in:
commit
0a82f313c3
358 changed files with 8376 additions and 1214 deletions
|
@ -1438,14 +1438,16 @@ pub fn constrain_expr(
|
|||
return_value.region,
|
||||
));
|
||||
|
||||
constrain_expr(
|
||||
let return_con = constrain_expr(
|
||||
types,
|
||||
constraints,
|
||||
env,
|
||||
return_value.region,
|
||||
&return_value.value,
|
||||
expected_return_value,
|
||||
)
|
||||
);
|
||||
|
||||
constraints.exists([*return_var], return_con)
|
||||
}
|
||||
Tag {
|
||||
tag_union_var: variant_var,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue