mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
box errors in flat type
This commit is contained in:
parent
9581195c1b
commit
06f07700d4
4 changed files with 5 additions and 5 deletions
|
@ -841,7 +841,7 @@ fn type_to_variable(
|
|||
result
|
||||
}
|
||||
Erroneous(problem) => {
|
||||
let content = Content::Structure(FlatType::Erroneous(problem.clone()));
|
||||
let content = Content::Structure(FlatType::Erroneous(Box::new(problem.clone())));
|
||||
|
||||
register(subs, rank, pools, content)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue