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
The compiler will yield the following compilation error:
[ERROR] call argument count mismatch
--> /home/werle/repos/zzmodules/runtime-assert/tests/pass.zz:10:3
|
10 | assert(true);␊
| ^----^
|
= function '::runtime_assert::assert' is defined over 5 arguments, but you passed 4
when the message argument is not defined. Is this intended? The compiler will succeed in compilation when the message argument is given.
Consider the following hypothetical
assertfunction that mixescallsite_sourceand callsite assign syntax:The compiler will yield the following compilation error:
when the
messageargument is not defined. Is this intended? The compiler will succeed in compilation when themessageargument is given.