From 7775dd3c3a4b1be1311b1b6efc3e0f68b24362d7 Mon Sep 17 00:00:00 2001 From: Mike Bierlee Date: Wed, 3 Feb 2016 22:37:23 +0100 Subject: [PATCH] Fix not handling variadic as array --- source/poodinis/container.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/poodinis/container.d b/source/poodinis/container.d index 644415b..1c077aa 100644 --- a/source/poodinis/container.d +++ b/source/poodinis/container.d @@ -105,7 +105,7 @@ synchronized class DependencyContainer { /** * Deprecated: Use register(SuperType, ConcreteType)(RegistrationOption[]) instead */ - public Registration register(SuperType, ConcreteType : SuperType)(RegistrationOption options...) { + public Registration register(SuperType, ConcreteType : SuperType)(RegistrationOption[] options...) { return register!(SuperType, ConcreteType)(options); }