mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-01 21:40:58 +00:00
Print extension vars that are ability-bound
This commit is contained in:
parent
3d0a0a4a99
commit
beb7e79830
1 changed files with 2 additions and 2 deletions
|
|
@ -4049,11 +4049,11 @@ fn flat_type_to_err_type(
|
|||
ErrorType::RecursiveTagUnion(rec_error_type, sub_tags.union(err_tags), sub_ext, pol)
|
||||
}
|
||||
|
||||
ErrorType::FlexVar(var) => {
|
||||
ErrorType::FlexVar(var) | ErrorType::FlexAbleVar(var, _) => {
|
||||
ErrorType::RecursiveTagUnion(rec_error_type, err_tags, TypeExt::FlexOpen(var), pol)
|
||||
}
|
||||
|
||||
ErrorType::RigidVar(var) => {
|
||||
ErrorType::RigidVar(var) | ErrorType::RigidAbleVar(var, _) => {
|
||||
ErrorType::RecursiveTagUnion(rec_error_type, err_tags, TypeExt::RigidOpen(var), pol)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue