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 Issue 22698 - ImportC: nested struct tag stored in wrong scope #13586

Merged
merged 2 commits into from Jan 30, 2022

Conversation

WalterBright
Copy link
Member

Struct tags are not placed in the members of a struct, they are placed in the current scope.

@WalterBright WalterBright added the ImportC Pertaining to ImportC support label Jan 30, 2022
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Auto-close Bugzilla Severity Description
22698 normal ImportC: nested struct tag stored in wrong scope

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + dmd#13586"

@dlang-bot dlang-bot merged commit 6ba0360 into dlang:master Jan 30, 2022
@WalterBright WalterBright deleted the fix22698 branch January 30, 2022 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge Bug Fix ImportC Pertaining to ImportC support
Projects
None yet
3 participants