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

fix regression in align #12680

Merged
merged 2 commits into from
Nov 19, 2019
Merged

fix regression in align #12680

merged 2 commits into from
Nov 19, 2019

Conversation

krux02
Copy link
Contributor

@krux02 krux02 commented Nov 18, 2019

This problem isn't caught in tsizeof, because that test case include stdalign.h from using alignof already.

The fix in the error message is an unrelated to alignof. I fixed it because I think that "type expected, but got symbol 'MyType' of kind 'Type'" isn't that useful.

@Araq Araq merged commit 03fa9a9 into nim-lang:devel Nov 19, 2019
alehander92 pushed a commit to alehander92/Nim that referenced this pull request Dec 2, 2019
* fix regression in align

* add test typesym without type
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

Successfully merging this pull request may close these issues.

2 participants