Closed michael-kenzel closed 1 year ago
the following code will reproduce the issue:
struct Req {} struct X { req: Req } fn test(x: &mut X) { let mut p = x; let r = &mut p.req; }
triggers
artic/src/emit.cpp:776: void artic::Emitter::bind(const artic::ast::IdPtrn&, const thorin::Def*): Assertion `id_ptrn.type->convert(*this) == value->type()' failed.
Fixed in commit #6edefe9
the following code will reproduce the issue:
triggers