Open fmonniot opened 10 months ago
Scala3Mock current doesn't support mocking trait with an inner type. This is because the current macro will not dereference the type in the mock to the parent trait, I think.
Here is an example of such a case:
trait Test: trait Inner def returnInner(): Inner
Scala3Mock current doesn't support mocking trait with an inner type. This is because the current macro will not dereference the type in the mock to the parent trait, I think.
Here is an example of such a case: