Conversation
|
Thanks for your pull request, @wilzbach! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. |
f2eebfc to
c378941
Compare
|
I should have written more description about this PR. This only enables building Phobos with So I guess we can't go one step at a time? |
|
Huh, isn't that bad? Doesn't this mean that if we start building Phobos with -dip1000, all D users would then be forced to start using -dip1000 too? |
|
What about making -dip25 default aswell? Does -dip1000 include -dip25? |
|
The mangling has to be identical, or we can't do a dip1000 incremental change. Is it possible to change the mangling, but not enforce the semantics for dip1000? |
It does mean exactly that; I've raised this a number of months ago. It is especially fun once attribute inference gets involved. |
ugh. This is going to cause a lot of problems. We have 3 options I think at this point:
Option 3 seems the easiest, but also the worst user experience. |
|
@klickverbot what problems do you anticipate? I don't see problem with e.g. compiling phobos with
@schveiguy's suggestion is also a workable one. |
|
@nordlow |
|
Whatever approach we decide to take towards DIP1000, simply throwing the switch seems like the wrong option. Closing to free up the PR queue; please reopen if you want to continue the discussion. |
|
We could have at least kept the existing |
|
|
||
| static if (!hasIndirections!R) | ||
| @property auto save() scope | ||
| /* `return scope` cannot be inferred because compiler does not |
There was a problem hiding this comment.
change comment to remove mention of return
|
Closing this and submitting this as a new approach with |
AFAICT we have finally reached the point.