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 11048 - Default arguments bypass most attributes check (pure, @safe, @nogc) #14309
base: master
Are you sure you want to change the base?
Conversation
Thanks for your pull request, @ibuclaw! 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#14309" |
2d8b2eb
to
a441b3b
Compare
This should definitely target stable |
This should definitely not. |
Hmm, test in issue 19645 because defaultArgSemantic eagerly folds away the cast expression. This'll need a bit more plumbing to get right. |
Are you still working on this @ibuclaw ? |
Variant on #14214 - this use of inlineCopy is exposing a hole in the
@safe
system.Checking the testsuite first, then might fold the two together.