Revert "Merge pull request #6172 from WalterBright/fix16589"#6290
Revert "Merge pull request #6172 from WalterBright/fix16589"#6290mihails-strasuns wants to merge 1 commit intodlang:masterfrom mihails-strasuns:revert-6172
Conversation
|
It hides original (useful) error message with |
|
(confusing both because no actual address is taken in the code and because it is too low level compared with original error) |
src/expression.d
Outdated
| } | ||
| } | ||
| ======= | ||
| >>>>>>> parent of c871b7b... Merge pull request #6172 from WalterBright/fix16589 |
|
Is this the only issue you found as a reason for reverting? |
The only one I have noticed when running DMD own test suite. I haven't checked further. Updated with left-over merge markup removed. |
|
Green |
|
It smells like we could find a better (and slightly less confusing) solution than reverting it.
Can't really parse/understand that. We're all short of time, but remember, a bit more time spent on better expressing what you want to say, easily saves 10x or more time on understanding and pointless discussions. Already tried 3 times this week to shortly get the problem, but only today found enough time (30min.) to puzzle the pieces together. The issue we want to solve is the following. The check to be reverted by this PR currently gets enabled by Could you please try to fix the incorrect error/warning @WalterBright, I filed an issue so we can better track it. Issue 16949 – [Reg 2.073] confusing @safe error message for fields with unsafe destructors -transition= vs. deprecationsI guess the first step necessary is to get Walter to fully understand the argument against using As argued before, the
If disputable, we should discuss this in more detail on D.internals and/or in a call. |
|
I have started a http://forum.dlang.org/post/tiasmffqbwmqnejckemz@forum.dlang.org thread - that addresses both of mentioned issues (reverting and flag choices). I assumed the matter is obvious after many previous explanations but it all has likely been lost in the noise. |
My experience is that things have to be told multiple (~10x) times, and at least once need to be stated/clarified explicitly. Assumptions about what people pick up from the amount of email, github, and newsgroup information are often not correct and a common source for misunderstandings. |
|
Closing as hopeless |
Requirement for merge of stable into master (#6287)
Reason for reverting is that trying to remove flag protection has shown it results in some false
triggers in dmd test suite, for example: