Up until now, the Binder class was specialized using a type argument (Binder[Config]) rather than instantiation (Binder(config)). The specialization complicates the code for no clear benefit. In fact, it had the disadvantage that use of a non-specialized Binder had to be flagged as an error at runtime instead of during type checking.
There is backwards compatibility code to support the old syntax for a while, but not necessarily all the way up to 1.0.
Up until now, the
Binder
class was specialized using a type argument (Binder[Config]
) rather than instantiation (Binder(config)
). The specialization complicates the code for no clear benefit. In fact, it had the disadvantage that use of a non-specializedBinder
had to be flagged as an error at runtime instead of during type checking.There is backwards compatibility code to support the old syntax for a while, but not necessarily all the way up to 1.0.