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
currently transpiles to: var a []interface {} = []interface{}{nil, nil}
var a []interface {} = []interface{}{nil, nil}
void test_structarr() { struct s { int i; char c; }; struct s a[] = {{1, 'a'}, {2, 'b'}}; is_eq(a[0].i, 1); is_eq(a[0].c, 'a'); is_eq(a[1].i, 2); is_eq(a[1].c, 'b'); }
The text was updated successfully, but these errors were encountered:
I am working on this one and will soon have a fix.
Sorry, something went wrong.
Fixed struct array initialization. #264 (#283)
6890f1a
@elliotchance The code is merged into master. Closing.
No branches or pull requests
currently transpiles to:
var a []interface {} = []interface{}{nil, nil}
The text was updated successfully, but these errors were encountered: