[Issue 7909] to!(enum)(string) and to!(string)(enum) break when enum is integral

2012-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7909 --- Comment #1 from Adam D. Ruppe destructiona...@gmail.com 2012-04-14 07:26:07 PDT --- static assert(isIntegral!(Test)); fails on .58, passes on .59. This is what causes the matches more than one error. Though, interesting to note that:

[Issue 7909] to!(enum)(string) and to!(string)(enum) break when enum is integral

2012-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7909 --- Comment #2 from Adam D. Ruppe destructiona...@gmail.com 2012-04-14 07:57:10 PDT --- Well, a simple enough fix for the first one is to tighten up the constraint on toImpl for the isIntegral one. Line 1156 of conv.d, add: !is(S == enum).

[Issue 7909] to!(enum)(string) and to!(string)(enum) break when enum is integral

2012-04-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7909 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, rejects-valid