[Issue 20264] ICE on illegal cast to vector.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 4 09:10:21 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=20264

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

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

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #10532 "fix issue 20264 - ICE on illegal cast to
vector." was merged into stable:

- db77b6c7ecbc05ae3a054572deeae2631a6f7c9e by Basile Burg:
  fix issue 20264 - ICE on illegal cast to vector.

  An assert failed in AssignExpr sema because the VectorExp created for a
particular case of cast was not analysed and hence had not type.
  With the fix, and since the cast was illegal, a valid TypeError is now
present.

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

--


More information about the Digitalmars-d-bugs mailing list