[Issue 20130] ICE when casting from string to other array type due to __ArrayCast not being written

2020-03-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20130

Basile-z  changed:

   What|Removed |Added

 CC|b2.t...@gmx.com |

--


[Issue 20130] ICE when casting from string to other array type due to __ArrayCast not being written

2020-03-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20130

Dlang Bot  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Dlang Bot  ---
dlang/dmd pull request #10941 "Fix Issue 20130 - ICE when casting from string
to other array type du…" was merged into stable:

- 8f2485277661b42be1d44236d2572a0ab7048324 by Boris Carvajal:
  Fix Issue 20130 - ICE when casting from string to other array type due to
__ArrayCast not being written

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

--


[Issue 20130] ICE when casting from string to other array type due to __ArrayCast not being written

2020-03-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20130

Dlang Bot  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #6 from Dlang Bot  ---
@BorisCarvajal created dlang/dmd pull request #10941 "Fix Issue 20130 - ICE
when casting from string to other array type du…" fixing this issue:

- Fix Issue 20130 - ICE when casting from string to other array type due to
__ArrayCast not being written

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

--


[Issue 20130] ICE when casting from string to other array type due to __ArrayCast not being written

2019-12-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20130

Walter Bright  changed:

   What|Removed |Added

   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=20457

--


[Issue 20130] ICE when casting from string to other array type due to __ArrayCast not being written

2019-12-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20130

Walter Bright  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com

--- Comment #5 from Walter Bright  ---
With a debug build of the compiler, this yields:

core.exception.AssertError@dmd/e2ir.d(4308): This case should have been
rewritten to `__ArrayCast` in the semantic phase

Which shows once again the release build of dmd should NOT have asserts turned
off.

--


[Issue 20130] ICE when casting from string to other array type due to __ArrayCast not being written

2019-12-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20130

Basile-z  changed:

   What|Removed |Added

 CC||siu...@gmail.com

--- Comment #4 from Basile-z  ---
*** Issue 20319 has been marked as a duplicate of this issue. ***

--


[Issue 20130] ICE when casting from string to other array type due to __ArrayCast not being written

2019-12-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20130

--- Comment #3 from Basile-z  ---
another one, same problem:

---
void main()
{
auto data = cast(const char[5][]) "qwert";
}
---

--


[Issue 20130] ICE when casting from string to other array type due to __ArrayCast not being written

2019-11-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20130

--- Comment #2 from Basile-z  ---
little error in the reduced TC. Take this one.


void main() {
enum string a = "a";
auto array = cast(uint[])a;
}


--


[Issue 20130] ICE when casting from string to other array type due to __ArrayCast not being written

2019-11-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20130

Basile-z  changed:

   What|Removed |Added

Summary|ICE illegal instruction |ICE when casting from
   |when casting imported   |string to other array type
   |string  |due to __ArrayCast not
   ||being written

--