mirror of
https://github.com/mbierlee/poodinis.git
synced 2024-11-15 04:04:01 +01:00
Remove left-over debug import
This commit is contained in:
parent
14d504a752
commit
f4ad79003e
|
@ -5,7 +5,6 @@ public import poodinis.container;
|
||||||
class Autowire{};
|
class Autowire{};
|
||||||
|
|
||||||
public void autowire(Type)(Container container, Type instance) {
|
public void autowire(Type)(Container container, Type instance) {
|
||||||
import std.stdio;
|
|
||||||
foreach (member ; __traits(derivedMembers, Type)) {
|
foreach (member ; __traits(derivedMembers, Type)) {
|
||||||
foreach (attribute; mixin(`__traits(getAttributes, Type.` ~ member ~ `)`) ) {
|
foreach (attribute; mixin(`__traits(getAttributes, Type.` ~ member ~ `)`) ) {
|
||||||
if (is(attribute : Autowire) && __traits(getMember, instance, member) is null){
|
if (is(attribute : Autowire) && __traits(getMember, instance, member) is null){
|
||||||
|
|
Loading…
Reference in a new issue