Avatar
@swift-main protocol P {} extension Int: P {} func f() -> [some P] { [1, 2] } print(f()) (edited)