-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var args can't handle void or number literal arguments #557
Comments
When I try this in online compiler:
I get this error:
Something feels wrong here. When the value has explicit type it work. |
Here is another one that points here:
Fixed if the type is explicit:
Or even:
|
Solved by removing var args from the language in a3f6a58. Tuples do not have this limitation. |
Issue discovered in #547
Related to #313 #279 #280
Add this test to std/fmt/index.zig:
The text was updated successfully, but these errors were encountered: