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


Max Samukha <samu...@voliacable.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |samu...@voliacable.com


--- Comment #2 from Max Samukha <samu...@voliacable.com> 2012-11-09 01:43:32 
PST ---
One unfortunate consequence of the nested scope rule is we cannot use unnamed
mixins for adding definitions to declarations.

mixin template Foo()
{
   void foo() {}
}

class A
{
   void foo();
   mixin Foo;
}

results in undefined reference.

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

Reply via email to