Remove TODO comment

This commit is contained in:
Ayaz Hafiz 2022-11-07 16:58:40 -06:00
parent b71fef5f3b
commit f0534fc770
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -450,7 +450,6 @@ pub fn constrain_expr(
&AbilityMember(symbol, specialization_id, specialization_var) => {
// 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_type = *constraints.expectations[expected.index()].get_type_ref();
let store_expected =
constraints.store(expected_type, specialization_var, file!(), line!());