mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Remove FlatType::Erroneous
This commit is contained in:
parent
1974d8e848
commit
281bc94b55
13 changed files with 12 additions and 60 deletions
|
@ -844,7 +844,7 @@ fn deep_copy_type_vars<C: CopyEnv>(
|
|||
|
||||
// Everything else is a mechanical descent.
|
||||
Structure(flat_type) => match flat_type {
|
||||
EmptyRecord | EmptyTagUnion | Erroneous(_) => Structure(flat_type),
|
||||
EmptyRecord | EmptyTagUnion => Structure(flat_type),
|
||||
Apply(symbol, arguments) => {
|
||||
descend_slice!(arguments);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue