mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Remove unused OpportunisticResolve field
This commit is contained in:
parent
31220d5598
commit
4049eb6780
3 changed files with 0 additions and 6 deletions
|
@ -713,7 +713,6 @@ pub struct PatternEq(
|
|||
pub struct OpportunisticResolve {
|
||||
/// The specialized type of this lookup, to try to resolve.
|
||||
pub specialization_variable: Variable,
|
||||
pub specialization_expectation: Index<Expected<Type>>,
|
||||
|
||||
/// The ability member to try to resolve.
|
||||
pub member: Symbol,
|
||||
|
|
|
@ -439,9 +439,6 @@ pub fn constrain_expr(
|
|||
if let Some(specialization_id) = specialization_id {
|
||||
env.resolutions_to_make.push(OpportunisticResolve {
|
||||
specialization_variable: specialization_var,
|
||||
specialization_expectation: constraints.push_expected_type(
|
||||
Expected::NoExpectation(Type::Variable(specialization_var)),
|
||||
),
|
||||
member: symbol,
|
||||
specialization_id,
|
||||
});
|
||||
|
|
|
@ -1530,8 +1530,6 @@ fn solve(
|
|||
}
|
||||
&Resolve(OpportunisticResolve {
|
||||
specialization_variable,
|
||||
// TODO: remove me
|
||||
specialization_expectation: _,
|
||||
member,
|
||||
specialization_id,
|
||||
}) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue