Mixin Language Documentation -- error

Oliver Kania oliverkania at googlemail.com
Wed Aug 12 04:39:40 PDT 2009


Documentation:
If two different mixins are put in the same scope, and each define a
declaration with the same name, there is an ambiguity error when the
declaration is referenced: ...

The call to func() is ambiguous because Foo.func and Bar.func are in different
scopes.

Should read : are in the SAME scope.

Regards, Oliver



More information about the Digitalmars-d mailing list