Thread overview
[Issue 19954] ICE: Casting AliasSeq to array and passing to a function
[Issue 19954] DMD crashes
Jun 12, 2019
Basile-z
Jun 12, 2019
Basile-z
Jun 12, 2019
Simen Kjaeraas
Jun 12, 2019
Simen Kjaeraas
Jun 13, 2019
Basile-z
Jun 14, 2019
Dlang Bot
Jun 15, 2019
Dlang Bot
Mar 21, 2020
Basile-z
June 12, 2019
https://issues.dlang.org/show_bug.cgi?id=19954

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
                 CC|                            |b2.temp@gmx.com
           Hardware|x86_64                      |All
                 OS|Linux                       |All

--
June 12, 2019
https://issues.dlang.org/show_bug.cgi?id=19954

--- Comment #1 from Basile-z <b2.temp@gmx.com> ---
And it's a regression too : https://run.dlang.io/is/HlFXXK

--
June 12, 2019
https://issues.dlang.org/show_bug.cgi?id=19954

Simen Kjaeraas <simen.kjaras@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simen.kjaras@gmail.com

--- Comment #2 from Simen Kjaeraas <simen.kjaras@gmail.com> ---
Reduced example:

void fun(string[]){}

unittest {
    import std.meta : AliasSeq;
    fun(cast(string[])AliasSeq!"");
}

--
June 12, 2019
https://issues.dlang.org/show_bug.cgi?id=19954

Simen Kjaeraas <simen.kjaras@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|DMD crashes                 |ICE: Casting AliasSeq to
                   |                            |array and passing to a
                   |                            |function

--
June 13, 2019
https://issues.dlang.org/show_bug.cgi?id=19954

--- Comment #3 from Basile-z <b2.temp@gmx.com> ---
even more:

---
void main()
{
    auto a = cast(char[][]) "";
}
---

Attempt to fix leads to a past problem with CTFE : https://github.com/dlang/dmd/pull/9516#issuecomment-478227203

--
June 14, 2019
https://issues.dlang.org/show_bug.cgi?id=19954

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

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

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
@JinShil updated dlang/dmd pull request #10036 "Fix Issue 19954 - ICE: Casting AliasSeq to array and passing to a function" fixing this issue:

- Fix Issue 19954 - ICE: Casting AliasSeq to array and passing to a function

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

--
June 15, 2019
https://issues.dlang.org/show_bug.cgi?id=19954

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

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

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #10036 "Fix Issue 19954 - ICE: Casting AliasSeq to array and passing to a function" was merged into stable:

- 4c7f98dd90fafd282a5eff1d59ff474a74ec2d23 by JinShil:
  Fix Issue 19954 - ICE: Casting AliasSeq to array and passing to a function

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

--
March 21, 2020
https://issues.dlang.org/show_bug.cgi?id=19954

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|b2.temp@gmx.com             |

--