mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Get rid of MemberImpl::Derived
We don't need this anymore, since derived members become Impls during canonicalization now!
This commit is contained in:
parent
1d885c4ab2
commit
e75f3c3c79
7 changed files with 6 additions and 25 deletions
|
@ -638,7 +638,7 @@ fn make_specialization_decision<P: Phase>(
|
|||
// Doesn't specialize; an error will already be reported for this.
|
||||
SpecializeDecision::Drop
|
||||
}
|
||||
Some(MemberImpl::Error | MemberImpl::Derived) => {
|
||||
Some(MemberImpl::Error) => {
|
||||
// TODO: probably not right, we may want to choose a derive decision!
|
||||
SpecializeDecision::Specialize(Opaque(*opaque))
|
||||
}
|
||||
|
@ -743,7 +743,6 @@ fn get_specialization_lambda_set_ambient_function<P: Phase>(
|
|||
.expect("lambda set region not resolved");
|
||||
Ok(specialized_lambda_set)
|
||||
}
|
||||
MemberImpl::Derived => todo_abilities!(),
|
||||
MemberImpl::Error => todo_abilities!(),
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue