Protocols that have generics with associated types don't work
stephen-hawley opened this issue · comments
Steve Hawley commented
This code generates all kinds of errors:
public protocol MyIterator {
associatedtype Element
func next () -> Self.Element?
}