Skip to content
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

placing a struct wrong crashes #58

Closed
shakesoda opened this issue Dec 7, 2020 · 1 comment
Closed

placing a struct wrong crashes #58

shakesoda opened this issue Dec 7, 2020 · 1 comment

Comments

@shakesoda
Copy link

shakesoda commented Dec 7, 2020

in 1.5, entering something to the effect of

struct H {};
struct H h @ 0x0;

will crash as soon as it recognizes the placement as an expression.

I tried it this way since H h @ 0x0; didn't work on my first attempt for some reason, so I figured I'd try C syntax. It works fine with struct H { u32 foo; }; H h @ 0x0;

@shakesoda shakesoda changed the title placing a struct crashes placing a struct wrong crashes Dec 7, 2020
@WerWolv WerWolv closed this as completed in e1e7307 Dec 7, 2020
@WerWolv
Copy link
Owner

WerWolv commented Dec 7, 2020

Thanks! This bug was introduced with the new be/le syntax and me failing to verify keywords properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants