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
{{ message }}
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
yeah mixing them is broken.
I don't really want to fix it tho, because callsite_source needs to be replaced entirely with a callsite assign macro call,
i.e. something like
char* file = @source(file)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Consider the following hypothetical
assert
function that mixescallsite_source
and callsite assign syntax:The compiler will yield the following compilation error:
when the
message
argument is not defined. Is this intended? The compiler will succeed in compilation when themessage
argument is given.The text was updated successfully, but these errors were encountered: