[Issue 14093] [REG2.065] __traits(compiles, cast(Object)(tuple)) is true even if it doesn't compile.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Feb 10 20:38:41 PST 2015


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

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

https://github.com/D-Programming-Language/dmd/commit/1d0268e92e83ec62f0daa548e39c749902e7eb54
fix Issue 14093 - __traits(compiles, cast(Object)(tuple)) is true even if it
doesn't compile.

Move invalid cast check into Expression::castTo().

https://github.com/D-Programming-Language/dmd/commit/132dcccc5f29732301250ea1a1684b858cf6f555
Merge pull request #4395 from 9rnsr/fix14093

[REG2.065] Issue 14093 - __traits(compiles, cast(Object)(tuple)) is true even
if it doesn't compile

--


More information about the Digitalmars-d-bugs mailing list