[Issue 9048] Error: base classes expected instead of typeof when instantiating anonymous class

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 20 19:48:21 PST 2012


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


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2012-11-20 19:48:17 PST ---
(In reply to comment #0)
>   new class typeof(this) {};
>   new class typeof(new Object()) {};

Using typeof in base class list is allowed in 2.061head, by fixing issue 1353.

*** This issue has been marked as a duplicate of issue 1353 ***

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