-
-
Notifications
You must be signed in to change notification settings - Fork 610
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 22023 - adding to escaped argument of a variadic defeats @… #13710
Conversation
|
Thanks for your pull request, @WalterBright! 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 "master + dmd#13710" |
|
Fixing this uncovered a related issue: |
291604b to
24b2037
Compare
|
Shouldn't this start as a deprecation? |
|
Aren't typesafe variadic inherently |
Only arrays and classes. See https://issues.dlang.org/show_bug.cgi?id=22818 |
Why would fixing a sure-fire crash require a deprecation? |
It's not a sure-fire crash, someone might add Personally I don't mind making this an error directly, I only ask because you recently mentioned that people expect no breakage when not using preview switches. |
|
@dkorpel you could apply that reasoning to every bug fix. This is why we leaven our rules with good judgement, and do not apply them absolutely. |
|
This PR has introduced a regression: https://issues.dlang.org/show_bug.cgi?id=23244 . |
…safe