Thread overview
[Issue 19788] compiler crash on slicing a enum typed as vector
Dec 21, 2020
Dlang Bot
Dec 21, 2020
Dlang Bot
Oct 20, 2022
Walter Bright
Oct 20, 2022
Walter Bright
Oct 20, 2022
Walter Bright
Oct 22, 2022
Dlang Bot
December 21, 2020
https://issues.dlang.org/show_bug.cgi?id=19788

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

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

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@WalterBright created dlang/dmd pull request #12043 "fix Issue 19788 - compiler crash on slicing a enum typed as vector" fixing this issue:

- fix Issue 19788 - compiler crash on slicing a enum typed as vector

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

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

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #12043 "fix Issue 19788 - compiler crash on slicing a enum typed as vector" was merged into master:

- 8f475d87e726310c9491f6938f132cbc013f8297 by Walter Bright:
  fix Issue 19788 - compiler crash on slicing a enum typed as vector

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

--
October 20, 2022
https://issues.dlang.org/show_bug.cgi?id=19788

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=19630

--
October 20, 2022
https://issues.dlang.org/show_bug.cgi?id=19788

--- Comment #3 from Walter Bright <bugzilla@digitalmars.com> ---
This is now regarded as an error, as it is slicing an rvalue.

--
October 20, 2022
https://issues.dlang.org/show_bug.cgi?id=19788

--- Comment #4 from Walter Bright <bugzilla@digitalmars.com> ---
Use .array property instead of slicing.

--
October 22, 2022
https://issues.dlang.org/show_bug.cgi?id=19788

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #14580 "cannot slice xmm rvalue" was merged into master:

- 5a10d1eb723383881ce4f5df5129134028febde2 by Walter Bright:
  Fixes incorrect fix issue 19788 about slicing xmm value

  Fixes incorrect fix for https://issues.dlang.org/show_bug.cgi?id=19788

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

--