[Issue 16025] mixin myTemplate should throw an error
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun May 15 00:54:22 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16025
b2.temp at gmx.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |b2.temp at gmx.com
--- Comment #2 from b2.temp at gmx.com ---
I suppose he speaks about this:
----
mixin template Foo(){}
template Bar(){} // not a mixin
mixin Foo;
mixin Bar; // can be mixed
void main(){}
----
a template can be mixed even if it's not a mixin template.
--
More information about the Digitalmars-d-bugs
mailing list