Thread overview
[Issue 19152] 2.081.1 Regression compiler bug
3 days ago
Mike Franklin
[Issue 19152] 2.081.1 getOverloads regression compiler bug
August 10
https://issues.dlang.org/show_bug.cgi?id=19152

Mike Franklin <slavo5150@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slavo5150@yahoo.com

--- Comment #1 from Mike Franklin <slavo5150@yahoo.com> ---
Further reduced:

alias TNotifyEvent = void delegate();

class TBasicAction
{
  private TNotifyEvent _OnExecute;
  TNotifyEvent OnExecute(TNotifyEvent value)
  {
    auto dlg = __traits(getOverloads, this, "OnExecute");
  }
}

Results in segmentation fault in traits.d

--
August 10
https://issues.dlang.org/show_bug.cgi?id=19152

--- Comment #2 from Mike Franklin <slavo5150@yahoo.com> ---
Further reduction to something that will compile successfully when the bug is fixed.

class TBasicAction
{
    int OnExecute()
    {
        auto name = __traits(getOverloads, this, "OnExecute").stringof;
        return 0;
    }
}

void main() {}

--
August 10
https://issues.dlang.org/show_bug.cgi?id=19152

--- Comment #3 from Mike Franklin <slavo5150@yahoo.com> ---
Attempted fix: https://github.com/dlang/dmd/pull/8553

--
August 10
https://issues.dlang.org/show_bug.cgi?id=19152

Mike Franklin <slavo5150@yahoo.com> changed:

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

--
August 10
https://issues.dlang.org/show_bug.cgi?id=19152

Mike Franklin <slavo5150@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86                         |All
                 OS|Windows                     |All

--
3 days ago
https://issues.dlang.org/show_bug.cgi?id=19152

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

https://github.com/dlang/dmd/commit/9b637fc660c5f2e6610d0f967334f046eb4bdad7 Fix Issue 19152 - 2.081.1 Regression - Seg fault in traits.d

https://github.com/dlang/dmd/commit/5445a8234ed3688f73dd137ab79ce68f54598326 Merge pull request #8553 from JinShil/fix_19152

Fix Issue 19152 - 2.081.1 Regression - Seg fault in traits.d

--
3 days ago
https://issues.dlang.org/show_bug.cgi?id=19152

github-bugzilla@puremagic.com changed:

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

--
3 days ago
https://issues.dlang.org/show_bug.cgi?id=19152

Mike Franklin <slavo5150@yahoo.com> changed:

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

--- Comment #5 from Mike Franklin <slavo5150@yahoo.com> ---
*** Issue 19170 has been marked as a duplicate of this issue. ***

--
3 days ago
https://issues.dlang.org/show_bug.cgi?id=19152

Richard Cattermole <alphaglosined@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|2.081.1 Regression compiler |2.081.1 getOverloads
                   |bug                         |regression compiler bug

--