Thread overview
[Issue 15867] Compiler reports wrong error location for immutability error
Apr 03, 2020
Dlang Bot
May 06, 2020
Dlang Bot
May 06, 2020
Dlang Bot
April 03, 2016
https://issues.dlang.org/show_bug.cgi?id=15867

lasssafin@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lasssafin@gmail.com

--- Comment #1 from lasssafin@gmail.com ---
Why should it show it on line 8 in stead of line 2? The assignment happens on line 2.

--
April 03, 2016
https://issues.dlang.org/show_bug.cgi?id=15867

--- Comment #2 from andy.pj.hanson@gmail.com ---
The compiler reports line 8, but the error is actually on line 2.

--
April 03, 2020
https://issues.dlang.org/show_bug.cgi?id=15867

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

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

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@BorisCarvajal created dlang/dmd pull request #11002 "Fix Issues 20718, 15867, 12380 - Wrong location errors on const. folding / exp. optimization" fixing this issue:

- Fix Issues 20718, 15867, 12380 - Wrong location errors on const. folding / exp. optimization

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

--
April 08, 2020
https://issues.dlang.org/show_bug.cgi?id=15867

Steven Schveighoffer <schveiguy@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |schveiguy@yahoo.com
         Resolution|---                         |DUPLICATE

--- Comment #4 from Steven Schveighoffer <schveiguy@yahoo.com> ---


*** This issue has been marked as a duplicate of issue 12380 ***

--
May 06, 2020
https://issues.dlang.org/show_bug.cgi?id=15867

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|DUPLICATE                   |FIXED

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #11002 "Fix Issues 20718, 15867, 12380 - Wrong location errors on const. folding / exp. optimization" was merged into stable:

- e9227fc44fdd52e7217d0f72f6fec671f98555f5 by Boris Carvajal:
  Fix Issues 20718, 15867, 12380 - Wrong location errors on const. folding /
exp. optimization

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

--
May 06, 2020
https://issues.dlang.org/show_bug.cgi?id=15867

--- Comment #6 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #11102 "Revert "Fix Issues 20718, 15867, 12380 - Wrong location errors on const. folding / exp. optimization"" was merged into stable:

- 7199de9b5d0a04bc415ac52d1490c66c92d14508 by Steven Schveighoffer:
  Revert "Fix Issues 20718, 15867, 12380 - Wrong location errors on const.
folding / exp. optimization"

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

--
May 06, 2020
https://issues.dlang.org/show_bug.cgi?id=15867

Steven Schveighoffer <schveiguy@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |DUPLICATE

--- Comment #7 from Steven Schveighoffer <schveiguy@yahoo.com> ---


*** This issue has been marked as a duplicate of issue 12380 ***

--