Thread overview
[Issue 13356] [ICE] (dmd 2.066: statement.c:754) with recursive Algebraic
Sep 30, 2014
John Colvin
Oct 01, 2014
Kenji Hara
September 30, 2014
https://issues.dlang.org/show_bug.cgi?id=13356

John Colvin <john.loughran.colvin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john.loughran.colvin@gmail.
                   |                            |com

--- Comment #1 from John Colvin <john.loughran.colvin@gmail.com> ---
Another test case:

void writeConfig()
{
    JSONValue v;
    v["name"] = .z();
}

struct JSONValue
{
    import std.variant;
    alias Payload = Algebraic!(typeof(null));

    Payload payload;

    alias payload this;
}

--
October 01, 2014
https://issues.dlang.org/show_bug.cgi?id=13356

Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice, pull
           Hardware|x86_64                      |All
                 OS|Linux                       |All
           Severity|normal                      |major

--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> ---
(In reply to Philippe Sigaud from comment #0)
> This creates an [ICE] (2.066):
> 
[snip]

Compiler fix: https://github.com/D-Programming-Language/dmd/pull/4036


(In reply to John Colvin from comment #1)
> Another test case:
> 
[snip]

The root problem of the second case was bit different from the first case, so I separated it into issue 13563.

--
October 05, 2014
https://issues.dlang.org/show_bug.cgi?id=13356

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

https://github.com/D-Programming-Language/dmd/commit/818abe8508eb05d89fdde55450a8ac2743f7a854 fix Issue 13356 - [ICE] (dmd 2.066: statement.c:754) with recursive Algebraic

https://github.com/D-Programming-Language/dmd/commit/11026ef7aa1a7c322cbf0889e57388ffa171fc28 Merge pull request #4036 from 9rnsr/fix13356

Issue 13356 - [ICE] (dmd 2.066: statement.c:754) with recursive Algebraic

--
October 05, 2014
https://issues.dlang.org/show_bug.cgi?id=13356

github-bugzilla@puremagic.com changed:

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

--
February 19, 2015
https://issues.dlang.org/show_bug.cgi?id=13356

--- Comment #4 from github-bugzilla@puremagic.com ---
Commits pushed to 2.067 at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/818abe8508eb05d89fdde55450a8ac2743f7a854 fix Issue 13356 - [ICE] (dmd 2.066: statement.c:754) with recursive Algebraic

https://github.com/D-Programming-Language/dmd/commit/11026ef7aa1a7c322cbf0889e57388ffa171fc28 Merge pull request #4036 from 9rnsr/fix13356

--