http://d.puremagic.com/issues/show_bug.cgi?id=8231
Summary: conv.to fails to convert string with trailing "u" Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-06-11 18:36:57 PDT --- import std.conv; void main() { uint x = 3u; // ok uint y = to!uint("3u"); // fail } std.conv.ConvException@D:\DMD\dmd2\windows\bin\..\..\src\phobos\std\conv.d(1597): Unexpected 'u' when converting from type string to type uint If it can be used in D syntax it should be convertible by conv.to. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------