the following code will reproduce the issue:
struct Req {}
struct X {
_: u32,
req: Req
}
fn test(x: &mut X) {
let mut p = x;
let r = &mut p.req;
}
triggers
thorin/src/thorin/primop.cpp:80: thorin::LEA::LEA(const thorin::Def*, const thorin::Def*, thorin::Debug): Assertion `false && "unreachable"' failed.
the following code will reproduce the issue:
triggers