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 22286 - importC: (identifier)(other_identifier) incorrectly… #13078

Merged
merged 1 commit into from
Sep 18, 2021

Conversation

WalterBright
Copy link
Member

… parsed as a cast-expression

This is yet another grammar ambiguity we have to fix in the semantic pass. (This is why D uses the cast keyword!)

Took me a while to figure out how to fix this.

@WalterBright WalterBright added the ImportC Pertaining to ImportC support label Sep 16, 2021
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Auto-close Bugzilla Severity Description
22286 major importC: (identifier)(other_identifier) incorrectly parsed as a cast-expression

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 "stable + dmd#13078"

@12345swordy
Copy link
Contributor

This needs a force merge as auto-tester is stalling for some reason.

@WalterBright WalterBright merged commit 44326b8 into dlang:stable Sep 18, 2021
@WalterBright WalterBright deleted the fix22286 branch September 18, 2021 05:40
@MartinNowak MartinNowak mentioned this pull request Sep 29, 2021
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
Development

Successfully merging this pull request may close these issues.

4 participants