super(...) in mixin template

Jacob Carlborg doob at me.com
Mon Mar 3 23:23:26 PST 2014


On Tuesday, 4 March 2014 at 05:08:45 UTC, Steve Teale wrote:

> There's an example below, but it is probably not necessary.
>
> The thing is that the mixin won't compile because it's seeing 
> super(whatever) as an attempt to define a function.

Perhaps you already figured this out but template mixins can only 
mixin declarations, not expression or statements.

--
/Jacob Carlborg


More information about the Digitalmars-d mailing list