Closed
Description
Currently we do the resolution step of mtwt lazily and on demand in name resolution and (unfortunately) elsewhere. That means we have to keep the (big) tables around longer than is nice and means we are open to hygiene bugs where people forget to do mtwt resolution.
A better solution is to eagerly do mtwt resolution as part of the HIR lowering step. This also means no more Ident
s in the HIR, only Name
s, which is a plus.
Happy to mentor this, it's probably better as a second or third bug than a first though since its not super easy.