Make TempStringNoAlloc a template#2705
Conversation
|
Thanks for your pull request and interest in making D better, @skoppe! 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 + druntime#2705" |
|
Please add the test case from the bug report. |
6ee5951 to
b74211f
Compare
|
In Phobos we have the option to run |
|
|
Test fails with:
|
Hmm, I see. Will look into it this weekend. |
|
@wilzbach I found the mistake. Some CI's are still red though, but it doesn't seem to be caused by my changes. Would it help if I rebase on stable again? |
Probably. Just tried this for you. |
|
Appveyor is expected to fail on stable. |
Fixes https://issues.dlang.org/show_bug.cgi?id=20088
Since the new
__ArrayCasttemplate hook, casting arrays is broken in betterC. The reason is that__ArrayCastindirectly depends onTempStringNoAlloc.get, which is not a template function and doesn't get linked in betterC.