-
-
Notifications
You must be signed in to change notification settings - Fork 609
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 Issues 20530, 20537 - resolve trait isPackage/isModule and is(package/module) quirks #10745
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 fetch digger
dub run digger -- build "stable + dmd#10745" |
|
@thewilsonator : Please don't |
|
@Geod24: the previous solution was merged because the original bug report didn't have enough test cases, I didn't know about the test cases provided by @MoonlightSentinel. |
A bug report isn't required to show of all possible inputs reproducing a certain bug. You can always add more test cases, especially if you are not completely sure about your fix (based on your initial comment #10739 (comment))
These tests were taken from |
40ac65f to
b88c92a
Compare
|
By the way, this patch also resolves the issue 11847. Should I link the bug and upload the test case? |
Yes please. |
dbb76e2 to
180ca0c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved once definition of a "wrapper Package" is added.
180ca0c to
4597e03
Compare
|
I made the requested changes. |
Hmm, maybe try giving it a force push? |
4597e03 to
98e6b51
Compare
Sounds like a script bug, there is no |
|
Hmm, maybe try rebasing? Otherwise I'll have to defer to @CyberShadow or someone else about that. |
…kage/module) quirks
e5b83bf to
a0f3a48
Compare
|
@thewilsonator, now I see the VERSION file was bumped but still no tag on dmd, druntime and phobos, I assume it's a matter of time. |
|
Try giving it a force push, then I guess. |
a0f3a48 to
fd8ea12
Compare
fd8ea12 to
e2d0de0
Compare
Introduced by dlang#10745.
…ork with string mixins
#10739 continuation.
I made two solutions to the issue of the last comment but hit another bug while trying the long alternative so I decided to put that version on another pull to fix that bug.
The short version here is changing something I wondered in the past why it was there, the typeToExpression call is unnecessary and it gave me different results a few times on compiler experiments when using mixin("ident . ident ...") vs plain code, it seems the way that TypeIdentifier is converted to DotIdExp makes the code behave different on some cases.