[Issue 8179] ICE(e2ir.c) with failed fixed size array cast

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jan 14 13:17:09 PST 2015


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

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

https://github.com/D-Programming-Language/dmd/commit/7a1a5d53c887401a2c3b44da1dff87c2f90f04c0
Disallow casting typeof(null) <--> Tsarray

And this is the generalized fix for the issue 8179 case. In
NullExp::castTo(), we can just rely on the TypeNull:implicitConvTo() behavior.

--


More information about the Digitalmars-d-bugs mailing list