mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Content variant ErasedLambda
This commit is contained in:
parent
c459757062
commit
6e5a308557
20 changed files with 147 additions and 93 deletions
|
@ -1148,6 +1148,7 @@ fn deep_copy_type_vars<C: CopyEnv>(
|
|||
})
|
||||
})
|
||||
}
|
||||
ErasedLambda => ErasedLambda,
|
||||
|
||||
RangedNumber(range) => {
|
||||
perform_clone!(RangedNumber(range))
|
||||
|
|
|
@ -140,6 +140,7 @@ fn index_var(
|
|||
| Content::FlexAbleVar(_, _)
|
||||
| Content::RigidAbleVar(_, _)
|
||||
| Content::LambdaSet(_)
|
||||
| Content::ErasedLambda
|
||||
| Content::RangedNumber(..) => return Err(TypeError),
|
||||
Content::Error => return Err(TypeError),
|
||||
Content::RecursionVar {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue