[Issue 4429] New: .keys for V[real] broken
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 5 07:53:59 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4429
Summary: .keys for V[real] broken
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: dsimcha at yahoo.com
--- Comment #0 from David Simcha <dsimcha at yahoo.com> 2010-07-05 07:53:57 PDT ---
This bug seems to apply no matter what V is, but only applies when the key is a
real, not a float or a double.
import std.stdio;
void main() {
uint[real] foo;
foo[3.14159265] = 1;
foo[2.71828182] = 2;
foo[6.66] = 3;
writeln(foo); // Works
writeln(foo.keys); // 6.66 -0 -0
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list