Fix Issue 20692 - Nested alias declarations and getMember trait can c…#10952
Fix Issue 20692 - Nested alias declarations and getMember trait can c…#10952RazvanN7 merged 1 commit intodlang:stablefrom
Conversation
|
Thanks for your pull request and interest in making D better, @BorisCarvajal! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla references
Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "stable + dmd#10952" |
|
Can you please offer an explanation describing the problem and explaining the fix? Honestly, I would expect that the provided test case fails with a "forward reference" error, since dmd isn't able to partially analyze structs |
|
Indeed that could be a possible outcome of compilation if dmd were not able to resolve the symbol, and maybe dmd should give up on the first analyzing pass on the function. Let me remember the changes:
Edit: I've forgotten if the point one (the problematic toDsymbol call) strictly happens in |
Cleaning up after dlang#10952 and dlang#10988.
…rash dmd