[Issue 3508] hasLength is broken for length defined as function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 14 12:04:01 PST 2009


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



--- Comment #1 from Kyle Foley <k-foley at onu.edu> 2009-11-14 12:04:01 PST ---
(In reply to comment #0)
> import std.stdio;
> 
> struct Test1 { ulong length(); }
> struct Test2 { ulong length; }
> struct Test3 { string length; }
> 
> ...

I accidentally left out a few lines at the top (can't edit my original post):

---

module test;

import std.range;

-- 
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