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
#define ATS_DYNLOADFLAG 0absvt@ype A
vtypedef D =[l1:addr] (!A@l1 | ptr l1) -> void
vtypedef B = D
vtypedef C = B
externfun func(arg: !C): int
assume A = B
implement func(arg) =0implement main0() = ()
causes the compiler to generate an empty C file without printing any error message.
Can you please fix this?
Do you know why this code is wrong?
Thanks.
The text was updated successfully, but these errors were encountered:
Checking for recursive definition is not currently performed by patsopt. The crash you experienced was due to the expansion of A, which is not terminating.
Instead of using 'assume', you may want to use casting to circumvent the issue.
Hi.
The following code:
causes the compiler to generate an empty C file without printing any error message.
Can you please fix this?
Do you know why this code is wrong?
Thanks.
The text was updated successfully, but these errors were encountered: