Add a comment

This commit is contained in:
Ayaz Hafiz 2022-07-19 12:10:54 -04:00
parent e4af8af1a3
commit a53de2e05c
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -586,6 +586,8 @@ fn canonicalize_opaque<'a>(
if let Some(impls) = opt_impls {
let mut impl_map: VecMap<Symbol, Loc<Symbol>> = VecMap::default();
// First up canonicalize all the claimed implementations, building a map of ability
// member -> implementation.
for loc_impl in impls.extract_spaces().item.items {
let (member, impl_symbol) =
match canonicalize_claimed_ability_impl(env, scope, ability, loc_impl) {