April 20, 2014 [Issue 12600] New: Variant doesn't support coercion with bools | ||||
---|---|---|---|---|
| ||||
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". -- |
Copyright © 1999-2021 by the D Language Foundation