mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-01 10:52:18 +00:00
Replace busted gen test with reporting test
This commit is contained in:
parent
ae6f349669
commit
bd9c9cc184
3 changed files with 37 additions and 27 deletions
|
@ -3796,14 +3796,7 @@ fn rec_defs_help(
|
|||
let mut vars = Vec::with_capacity(state.vars.capacity() + 1);
|
||||
let ret_var = *ret_var;
|
||||
let closure_var = *closure_var;
|
||||
let ret_type_index = {
|
||||
let typ = types
|
||||
.clone_with_variable_substitutions(ret_type, &Default::default());
|
||||
constraints.push_type(
|
||||
types, // TODO(types-soa) remove clone
|
||||
typ,
|
||||
)
|
||||
};
|
||||
let ret_type_index = constraints.push_type(types, ret_type);
|
||||
|
||||
vars.push(ret_var);
|
||||
vars.push(closure_var);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue