Code: static import std.signals; class A { mixin std.signals.Signal!(); } When I try to compile it, there is a lot of confusing messages about errors in std/signals.d If I remove "static" from the first line, all works ok.