| Thread overview | |||||
|---|---|---|---|---|---|
|
April 28, 2014 [Issue 5187] Attribute hiding error or warning | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5187 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich@gmail.com --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> --- This should probably be in some DIP, or you could ask about it in the forums. It's worth discussing IMO. -- | ||||
April 28, 2014 [Issue 5187] Attribute hiding error or warning | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5187 --- Comment #2 from bearophile_hugs@eml.cc --- (In reply to Andrej Mitrovic from comment #1) > This should probably be in some DIP, or you could ask about it in the forums. It's worth discussing IMO. In the D design there are thousands of corner cases that weren't kept into account during the D design, because of reasons. Here I am asking for a warning/error, and for a new usage of "new" (or another semantically equivalent syntax), this is both a breaking change, the introduction of a warning (and a syntax change): things currently seriously frowned upon. Even improvements that lot of people seem to like, like the removal of implicit concatenation of adjacent string literals, or a dangerous and bad corner case: https://github.com/D-Programming-Language/dmd/pull/2887 were refused with insufficient reasons), so are such wars still worth fighting for? -- | ||||
November 29, 2022 [Issue 5187] Attribute hiding error or warning | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5187 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |WONTFIX --- Comment #3 from RazvanN <razvan.nitu1305@gmail.com> --- This is documented behavior [1]. There is no need to issue a warning for this. [1] https://dlang.org/spec/class.html#fields -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply