Thread overview
[Issue 24479] [REG2.104] Error on getAttributes on getOverloads of templates
Apr 05
RazvanN
Apr 05
Dlang Bot
Apr 18
Dlang Bot
Apr 23
Dlang Bot
April 03
https://issues.dlang.org/show_bug.cgi?id=24479

johanengelen@weka.io changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |industry, rejects-valid

--
April 03
https://issues.dlang.org/show_bug.cgi?id=24479

Jonathan M Davis <issues.dlang@jmdavisProg.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |issues.dlang@jmdavisProg.co
                   |                            |m

--- Comment #1 from Jonathan M Davis <issues.dlang@jmdavisProg.com> ---
I would point out that making deprecations errors pretty much defeats their entire purpose vs just changing the code without a deprecation. They're supposed to inform you about code that you're going to need to change without immediately breaking your code. So, anyone compiling their code with -de is going to be getting errors when they're not supposed to - and it _will_ cause problems in some cases with generic code, because template constraints routinely test whether a particular piece of code compiles or not.

Of course, regardless of how deprecations are treated, there then needs to be a way to transform your code appropriately so that it no longer triggers the deprecation, but deprecations are only treated as errors if you choose to do so, and it's usually a bad idea to do so.

--
April 05
https://issues.dlang.org/show_bug.cgi?id=24479

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305@gmail.com
           Severity|major                       |regression

--
April 05
https://issues.dlang.org/show_bug.cgi?id=24479

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@RazvanN7 updated dlang/dmd pull request #16358 "Fix Issue 24479 - [REG2.104] Error on getAttributes on getOverloads of templates" fixing this issue:

- Fix Bugzilla Issue 24479 - [REG2.104] Error on getAttributes on getOverloads of templates

https://github.com/dlang/dmd/pull/16358

--
April 18
https://issues.dlang.org/show_bug.cgi?id=24479

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #16358 "Fix Issue 24479 - [REG2.104] Error on getAttributes on getOverloads of templates" was merged into stable:

- 2e5d85a28ce1254f443b9bcd323c8d821cb8fed8 by RazvanN7:
  Fix Bugzilla Issue 24479 - [REG2.104] Error on getAttributes on getOverloads
of templates

https://github.com/dlang/dmd/pull/16358

--
April 23
https://issues.dlang.org/show_bug.cgi?id=24479

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #16406 "Merge stable" was merged into master:

- 9ca4c29549f944b820bbffc3e7b94c6f5ac23b1e by RazvanN7:
  Fix Bugzilla Issue 24479 - [REG2.104] Error on getAttributes on getOverloads
of templates

https://github.com/dlang/dmd/pull/16406

--