You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As @tkrajacic says you need to change the extension to:
extension Sequence where Element: AnyObject
The type system only checks the Sequence's Element type so it can't establish that every element of the Sequence is also an AnyObject, so changing the extension the type system is not gonna have this problem.
Please check that and if the problem is solved check this issue as complete.
Activity
tkrajacic commentedon Jun 22, 2018
Have a look at my comment on #48
Hope this helps
EfrenPerez94 commentedon Jul 6, 2018
As @tkrajacic says you need to change the extension to:
extension Sequence where Element: AnyObjectThe type system only checks the Sequence's Element type so it can't establish that every element of the Sequence is also an AnyObject, so changing the extension the type system is not gonna have this problem.
Please check that and if the problem is solved check this issue as complete.