Fix not handling variadic as array

This commit is contained in:
Mike Bierlee 2016-02-03 22:37:23 +01:00
parent e7a29f17f7
commit 7775dd3c3a

View file

@ -105,7 +105,7 @@ synchronized class DependencyContainer {
/** /**
* Deprecated: Use register(SuperType, ConcreteType)(RegistrationOption[]) instead * 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); return register!(SuperType, ConcreteType)(options);
} }