[Issue 8231] conv.to fails to convert string with trailing "u"

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jul 17 11:36:41 PDT 2014


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

hsteoh at quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh at quickfur.ath.cx
           Severity|normal                      |enhancement

--- Comment #4 from hsteoh at quickfur.ath.cx ---
I agree that this is a bad idea. std.conv.to is intended for converting user
data between different types, not for parsing D language constructs like uint
literals. We should have a different function for that (maybe something from
std.d.lexer, once we have that).

--


More information about the Digitalmars-d-bugs mailing list