You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modifying the sample to let r = &mut (*p).req; will avoid the assertion.
But this leads to the follow up problem in:
fntest(x:&mutX){letmut p:&mutX = x;// let mut r = &mut p.req;letmut r = &mut(*p).req;// this triggers Assertion failed: (!r || dynamic_cast<L*>(r)) && "cast not possible", file D:\Projects\anydsl\thorin\src\thorin/util/cast.h, line 42// r.val = 3;// this will properly update req in x(*r).val = 3;}
the following code will reproduce the issue:
triggers
The text was updated successfully, but these errors were encountered: