digitalmars.D.bugs - [Issue 12600] New: Variant doesn't support coercion with bools
- via Digitalmars-d-bugs (16/16) Apr 19 2014 https://issues.dlang.org/show_bug.cgi?id=12600
https://issues.dlang.org/show_bug.cgi?id=12600 Issue ID: 12600 Summary: Variant doesn't support coercion with bools Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: Phobos Assignee: nobody puremagic.com Reporter: akb825 gmail.com When you attempt to coerce a Variant value to a bool (i.e. v.coerce!bool) you get the static assert "unsupported type for coercion". --
Apr 19 2014