Closed lvalenta closed 1 year ago
I suggest making changes to implementation of WekLazyInjected where the compiler checks whether the provided dependency (T) is AnyObject. We can then avoid runtime typecasting
WekLazyInjected
AnyObject
Not merging as it breaks the WeakLazyInjected test code.
Will look at it
I suggest making changes to implementation of
WekLazyInjected
where the compiler checks whether the provided dependency (T) isAnyObject
. We can then avoid runtime typecasting