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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 19 15:35:54 PST 2012


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


timon.gehr at gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timon.gehr at gmx.ch
           Severity|normal                      |enhancement


--- Comment #1 from timon.gehr at gmx.ch 2012-11-19 15:35:51 PST ---
It is according to the language specification. It is the same parsing error as
the one present in the following code:

class C{}
class D: typeof(new C){}

This is an enhancement.

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