We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
void
const Empty = struct {}; fn foo(args:...) void { var e: Empty = args[0]; } test "Empty" { foo(Empty(undefined)); }
error: expected type 'Empty', found 'void' var e: Empty = args[0]; ^
Should be fixed by #208 .
The text was updated successfully, but these errors were encountered:
Updated test which passes:
const Empty = struct {}; fn foo(args: var) void { var e: Empty = args[0]; } test "Empty" { foo(.{@as(Empty, undefined)}); }
var args removed from the language in a3f6a58
Sorry, something went wrong.
No branches or pull requests
Should be fixed by #208 .
The text was updated successfully, but these errors were encountered: