[Issue 13408] template mixins allows to declare duplicates

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13408 Iain Buclaw changed: What|Removed |Added Priority|P1 |P2 --

[Issue 13408] template mixins allows to declare duplicates

2014-09-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13408 --- Comment #1 from Temtaime temta...@gmail.com --- There's one another issue. mixin template R() { void foo() { writeln(1); } void foo() { writeln(2); } } struct S { mixin R; } void main() { S s; } This code compiles OK, but