-
-
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 Issue 21282 mixin of AliasSeq cannot alias an expression #11810
Conversation
|
Thanks for your pull request, @WalterBright! Bugzilla references
|
9bc68c6 to
2aee479
Compare
2aee479 to
0ef0986
Compare
|
This is a regression. It should target stable. |
|
@WalterBright I was fixing this issue just now and your fix seems very overkill. Currently you can alias a tuple but only if it's encapsulated as a symbol (TupleDeclaration). |
|
@BorisCarvajal where is the mixin be expanded? Anyhow, create a PR for your version, and we'll compare. |
|
Buildkite has ANOTHER Heisenbug: https://issues.dlang.org/show_bug.cgi?id=21284 Is it possible we can get some Test Suite action on these problems? It's really not good enough to have to keep restarting the whole shebang. |
I think in typesem.d->resolve()->visitMixin() Gonna push it soon. |
|
That looks like a network error, good luck eliminating them entirely. |
A number of them have been successfully fixed with the method: for network errors, sleep for a few seconds, then try it again. The problem with not fixing these is the number of tests we have that are dependent on the network is getting so large it becomes a virtual certainty that it will fail somewhere and we can't get a clean test run. |
|
|
||
| template Bug(T...) { | ||
| alias Bug = I!(T[0]); | ||
| //alias Bug = mixin("I!(T[0])"); |
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.
Oops, the bug is not tested.
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.
ak, you're right
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.
found it when I was stealing the test case.
|
my pull #11814 |
|
Closing in favor of #11814 |
No description provided.