Thread overview
[Issue 7443] Better diagnostic on wrongly written static constructor
Jul 02, 2017
Vladimir Panteleev
Apr 11, 2018
RazvanN
Jul 09, 2019
Dlang Bot
July 02, 2017
https://issues.dlang.org/show_bug.cgi?id=7443

Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid,
                   |                            |link-failure
                 CC|                            |dlang-bugzilla@thecybershad
                   |                            |ow.net
           Severity|enhancement                 |normal

--- Comment #1 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> ---
To clarify, the example given currently (wrongly) compiles but fails to link due to a "multiple definition" error.

Upgrading from enhancement since it seems like an accepts-invalid.

--
April 11, 2018
https://issues.dlang.org/show_bug.cgi?id=7443

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

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

--- Comment #2 from RazvanN <razvan.nitu1305@gmail.com> ---
PR : https://github.com/dlang/dmd/pull/8164

--
April 17, 2018
https://issues.dlang.org/show_bug.cgi?id=7443

--- Comment #3 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/4a023ae3f23480110ab5ac3e0a4915e1b0ad4b6d Fix Issue 7443 - Better diagnostic on wrongly written static constructor

https://github.com/dlang/dmd/commit/af1d5bd9e10938c605938e2424de78dc941a24b3 Merge pull request #8164 from RazvanN7/Issue_7443

Fix Issue 7443 - Better diagnostic on wrongly written static constructor merged-on-behalf-of: Razvan Nitu <RazvanN7@users.noreply.github.com>

--
April 17, 2018
https://issues.dlang.org/show_bug.cgi?id=7443

github-bugzilla@puremagic.com changed:

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

--
July 09, 2019
https://issues.dlang.org/show_bug.cgi?id=7443

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #10152 "Fix Issue 7443 - Better diagnostic on wrongly written static constructor: Deprecation --> Error" was merged into master:

- 1762464837d03426b6b4d8c7c5fecdb7684a5eb2 by JinShil:
  Fix Issue 7443 - Better diagnostic on wrongly written static constructor:
Deprecation --> Error

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

--