This commit is contained in:
mlokr 2024-07-19 12:42:06 +02:00
parent 4c3b63df25
commit 654b7eb7af
No known key found for this signature in database
GPG key ID: DEA147DDEE644993

View file

@ -1713,7 +1713,6 @@ impl Codegen {
ty::Kind::Builtin(ty::TYPE) => {
self.ci.free_loc(tal.loc);
self.pop_local_snap(checkpoint);
self.report_log(target.pos(), format_args!("field: {expr}"));
match ty::Kind::from_ty(self.ty(target)) {
ty::Kind::Module(idx) => {
match self.find_or_declare(target.pos(), idx, Err(field), "") {
@ -1886,7 +1885,6 @@ impl Codegen {
let loc = self.alloc_ret(sig.ret, ctx);
if should_momize {
self.report_log(expr.pos(), format_args!("momized call: {expr}"));
self.output.write_trap(trap::Trap::MomizedCall(trap::MomizedCall { func }));
}