[Issue 5501] Variant wrongly assumes that an object's length property returns a size_t

2013-01-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5501



--- Comment #2 from Nicolas Sicard  2013-01-08 01:22:43 PST 
---
(In reply to comment #1)
> This is by design. The length name is special and defined to return size_t
> compulsively. A possible solution would be to rename std.datetime.Interval.
> Will cc jmdavis.

I agree. But that makes the length property a quasi-keyword and I think it
should be better documented, even if it is already used as such in practice.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5501] Variant wrongly assumes that an object's length property returns a size_t

2013-01-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5501


Andrei Alexandrescu  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||INVALID


--- Comment #1 from Andrei Alexandrescu  2013-01-08 01:13:47 
PST ---
This is by design. The length name is special and defined to return size_t
compulsively. A possible solution would be to rename std.datetime.Interval.
Will cc jmdavis.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 5501] Variant wrongly assumes that an object's length property returns a size_t

2011-01-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5501


Andrei Alexandrescu  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||and...@metalanguage.com
 AssignedTo|nob...@puremagic.com|and...@metalanguage.com


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---