nitc :: AbstractCompilerVisitor :: anchor
# Anchor a type to the main module and the current receiver fun anchor(mtype: MType): MType do if not mtype.need_anchor then return mtype return mtype.anchor_to(self.compiler.mainmodule, self.frame.receiver) end