Fix issue 20065: support empty AliasSeq tuples in compiletime array literals#10197
Conversation
|
Thanks for your pull request and interest in making D better, @FeepingCreature! 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#10197" |
|
This is a pretty simple fix, might as well target stable. |
a7c259c to
a864d6a
Compare
|
Rebased on stable, std.meta import removed. |
|
Looks like you also improved an error message in the process :) |
|
Indeed |
a864d6a to
21dcbbd
Compare
|
|
|
Seems to be some places where CTFE is too defensive in what types of expressions it'll accept. Maybe fixed now? Let's run the tests. |
|
Seems to like it, you still need to correct the error message above. |
f236a0c to
ee70c63
Compare
|
Now that this needed one or two more changes before going green, should this still go on |
|
Stable is fine. |
|
dinterpret.d is not supposed to handle type-exps. |
|
Ah damn, that sounds worrying. Noting that I don't really know the implications, and relied on the testsuite, afaics the problem happened originally because in All the tests were green though, so... Maybe I should have nailed things down so that only this specific case was allowed. |
…iterals (dlang#10197) Fix issue 20065: support empty AliasSeq tuples in compiletime array literals merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
Fixes: