April 25, 2009 [Issue 2893] New: Type const(int) does not have an Unsigned counterpart | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2893 Summary: Type const(int) does not have an Unsigned counterpart Product: D Version: 2.029 Platform: PC OS/Version: Linux Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: someanon@yahoo.com $ cat tos.d import std.conv; void f() { const int i; to!string(i); } $ dmd -c tos.d /dmd/linux/bin/../../src/phobos/std/traits.d(1011): Error: static assert "Type const(int) does not have an Unsigned counterpart" /dmd/linux/bin/../../src/phobos/std/traits.d(2454): Error: template instance std.traits.Unsigned!(const(int)) error instantiating /dmd/linux/bin/../../src/phobos/std/conv.d(2454): Error: Unsigned!(const(int)) is used as a type -- |
April 25, 2009 [Issue 2893] Type const(int) does not have an Unsigned counterpart | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2893 andrei@metalanguage.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from andrei@metalanguage.com 2009-04-25 06:12 ------- Fixed in svn. Thank you. -- |
Copyright © 1999-2021 by the D Language Foundation