mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
Resolve ability member todo
This commit is contained in:
parent
c76a928ed4
commit
b71fef5f3b
1 changed files with 1 additions and 2 deletions
|
@ -451,8 +451,7 @@ pub fn constrain_expr(
|
|||
// Save the expectation in the `specialization_var` so we know what to specialize, then
|
||||
// lookup the member in the environment.
|
||||
// TODO don't rewrap expectation
|
||||
let expected = constraints.expectations[expected.index()].clone();
|
||||
let expected_type = *expected.get_type_ref();
|
||||
let expected_type = *constraints.expectations[expected.index()].get_type_ref();
|
||||
let store_expected =
|
||||
constraints.store(expected_type, specialization_var, file!(), line!());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue