mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 05:34:11 +03:00
Print extension vars that are ability-bound
This commit is contained in:
parent
3d0a0a4a99
commit
beb7e79830
@ -4049,11 +4049,11 @@ fn flat_type_to_err_type(
|
|||||||
ErrorType::RecursiveTagUnion(rec_error_type, sub_tags.union(err_tags), sub_ext, pol)
|
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::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)
|
ErrorType::RecursiveTagUnion(rec_error_type, err_tags, TypeExt::RigidOpen(var), pol)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user