mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
Fix existing reporting tests
This commit is contained in:
parent
2c87214b44
commit
cf56b5015a
6 changed files with 176 additions and 106 deletions
|
@ -684,7 +684,7 @@ fn unify_structure(
|
|||
outcome
|
||||
}
|
||||
FlexAbleVar(_, ability) => {
|
||||
let mut outcome = merge(subs, ctx, *other);
|
||||
let mut outcome = merge(subs, ctx, Structure(*flat_type));
|
||||
let must_implement_ability = MustImplementAbility {
|
||||
typ: Obligated::Adhoc(ctx.first),
|
||||
ability: *ability,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue