I forgot to say that if I remove the protocol conformance then the class compiles:
class NotWorkingImpl {
func someView<T: View>(outterView: T) -> some View {
Color.red
// a // returning param 'a' also compiles
}
}
It works (despite the class name) but I need the protocol to pass the object around.
So its seems a bug to me.