fix "multiple ! arguments are not allowed" on ...

...constructor argument injection
This commit is contained in:
nucz 2021-06-08 22:40:52 +03:00 committed by Mike Bierlee
parent 88234ab1b3
commit 00dd758e01

View file

@ -167,7 +167,7 @@ class ConstructorInjectingInstanceFactory(InstanceType) : InstanceFactory
argumentList ~= ","; argumentList ~= ",";
} }
argumentList ~= "container.resolve!" ~ param.stringof; argumentList ~= "container.resolve!(" ~ param.stringof ~ ")";
} }
return argumentList; return argumentList;
} }