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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 8 01:13:48 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=5501


Andrei Alexandrescu <andrei at erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |INVALID


--- Comment #1 from Andrei Alexandrescu <andrei at erdani.com> 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: -------


More information about the Digitalmars-d-bugs mailing list