[Issue 15215] Erroneous error messages in to!IntegralType conversions
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Dec 23 13:19:00 PST 2016
https://issues.dlang.org/show_bug.cgi?id=15215
Andrei Alexandrescu <andrei at erdani.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |andrei at erdani.com
Resolution|--- |FIXED
--- Comment #8 from Andrei Alexandrescu <andrei at erdani.com> ---
Current output:
Testing string: 2A
to!ubyte : Unexpected 'A' when converting from type string to type ubyte
to!ushort : Unexpected 'A' when converting from type string to type ushort
to!uint : Unexpected 'A' when converting from type string to type uint
to!ulong : Unexpected 'A' when converting from type string to type ulong
to!byte : Unexpected 'A' when converting from type string to type byte
to!short : Unexpected 'A' when converting from type string to type short
to!int : Unexpected 'A' when converting from type string to type int
to!long : Unexpected 'A' when converting from type string to type long
Testing string: -2A
to!ubyte : Unexpected '-' when converting from type string to type uint
to!ushort : Unexpected '-' when converting from type string to type uint
to!uint : Unexpected '-' when converting from type string to type uint
to!ulong : Unexpected '-' when converting from type string to type ulong
to!byte : Unexpected 'A' when converting from type string to type byte
to!short : Unexpected 'A' when converting from type string to type short
to!int : Unexpected 'A' when converting from type string to type int
to!long : Unexpected 'A' when converting from type string to type long
Testing string: #2A
to!ubyte : Unexpected '#' when converting from type string to type uint
to!ushort : Unexpected '#' when converting from type string to type uint
to!uint : Unexpected '#' when converting from type string to type uint
to!ulong : Unexpected '#' when converting from type string to type ulong
to!byte : Unexpected '#' when converting from type string to type int
to!short : Unexpected '#' when converting from type string to type int
to!int : Unexpected '#' when converting from type string to type int
to!long : Unexpected '#' when converting from type string to type long
--
More information about the Digitalmars-d-bugs
mailing list