https://issues.dlang.org/show_bug.cgi?id=20782
Issue ID: 20782 Summary: std.conv.to can't convert string to const enum Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: atila.ne...@gmail.com ------------------------- import std.conv: to; enum Enum { oops } "foo".to!(const Enum); // doesn't compile ------------------------- --