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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |clugd...@yahoo.com.au
         Resolution|                            |INVALID


--- Comment #11 from Don <clugd...@yahoo.com.au> 2009-11-23 00:29:07 PST ---
(In reply to comment #10)
> line 16: // wrong: t.A:- t.B:+ t.C:- int:-
> 
> Why an empty class B{} pass the test?

Because it has toString(). Try this code:
---
import std.stdio;
class B {}

void main()
{
   B b = new B;
   writefln(b.toString());
}
---
There's no bug here.

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

Reply via email to