mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
extra debug info
This commit is contained in:
parent
25827fc70e
commit
1c9cc6bc9b
1 changed files with 5 additions and 1 deletions
|
@ -867,7 +867,11 @@ fn unify_shared_tags(
|
||||||
|
|
||||||
merge(subs, ctx, Structure(flat_type))
|
merge(subs, ctx, Structure(flat_type))
|
||||||
} else {
|
} else {
|
||||||
mismatch!("Problem with Tag Union")
|
mismatch!(
|
||||||
|
"Problem with Tag Union\nThere should be {:?} matching tags, but I only got \n{:?}",
|
||||||
|
num_shared_tags,
|
||||||
|
&matching_tags
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue