Closed dwijnand closed 6 years ago
The pattern guard
if implicitly[Manifest[A1]].runtimeClass == x.getClass
will never be true when A1 is PatternsBasedRepository and x is FileRepository (a subclass of PatternsBasedRepository).
A1
PatternsBasedRepository
x
FileRepository
Not fixed here.
The pattern guard
will never be true when
A1
isPatternsBasedRepository
andx
isFileRepository
(a subclass ofPatternsBasedRepository
).