79101326

Date: 2024-10-18 09:00:41
Score: 0.5
Natty:
Report link

You can achieve it by mapping the extension's profile result to the needed protocol so that the compiler can understands it:

extension ProfilerRepresentable where Self == Profiler {
    var profiles: [ProfileRepresentable] { self.profiles.map { $0 as ProfileRepresentable } }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Trajanos