Thread overview
[Issue 23865] duplicate alias not detected
May 01, 2023
RazvanN
Oct 14, 2023
Basile-z
Oct 14, 2023
Dlang Bot
Oct 14, 2023
Dlang Bot
Nov 01, 2023
Dlang Bot
May 01, 2023
https://issues.dlang.org/show_bug.cgi?id=23865

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

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

--- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> ---
Using `back` when `element` is aliased leads to an ice:

  class AssignableRange
  {
      int element;
      int front()
      {
          return element;
      }
      alias back = front;

      void front(int newValue)
      {
          element = newValue;
      }
      alias back = element;
  }

  void main()
  {
      AssignableRange a = new AssignableRange();

      a.back;
  }

core.exception.AssertError@src/dmd/access.d(341): Non overloadable Aliasee in
overload list

--
October 14, 2023
https://issues.dlang.org/show_bug.cgi?id=23865

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
           Hardware|x86_64                      |All
                 OS|Linux                       |All

--
October 14, 2023
https://issues.dlang.org/show_bug.cgi?id=23865

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@SixthDot created dlang/dmd pull request #15681 "fix issue 23865 - ICE on attempt to insert an non overloadable symbol…" fixing this issue:

- fix issue 23865 - ICE on attempt to insert an non overloadable symbol in a set

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

--
October 14, 2023
https://issues.dlang.org/show_bug.cgi?id=23865

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 #15681 "fix issue 23865 - ICE on attempt to insert an non overloadable symbol…" was merged into stable:

- c3ba5d65c6d0e7a6798638870f8d34d9aa73c7f2 by Basile Burg:
  fix issue 23865 - ICE on attempt to insert an non overloadable symbol in a
set

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

--
November 01, 2023
https://issues.dlang.org/show_bug.cgi?id=23865

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

- 201fb344984dab010eb5c64e4c704423803c9789 by SixthDot:
  fix issue 23865 - ICE on attempt to insert an non overloadable symbol in a
set (#15681)

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

--