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
Your code example is missing the handle to the function itself,
Fixed.
and if we are getting rid of var args (#208) then the args argument should be a var which is filled using anonymous literal syntax. That would end up looking like this:
Activity
daurnimator commentedon Nov 20, 2019
To avoid proliferation of
@inlineCall/@noInlineCall/@newStackCall/@noTailCall, etc.I propose a
@callbuiltin that takes a structure of options:emekoi commentedon Nov 20, 2019
perhaps
asyncCallcould be merged with this?fengb commentedon Nov 20, 2019
How about just 1 argument?
daurnimator commentedon Nov 20, 2019
I think this looks harder to use. Also the call type needs to be comptime known, while the function and arguments can be runtime known.
daurnimator commentedon Nov 22, 2019
Fixed.
Builtins don't need to follow the rest of the language like this: they aren't normal functions. see e.g.
@fieldimplement `@call`