Avatar
Avatar
t.ae
@swift-5.6.3 func todoInt() -> Int { fatalError("TODO") } func todoSequence() -> some Sequence { fatalError("TODO") // Return type of global function 'todoSequence()' requires that 'Never' conform to 'Sequence' }
exit status: 1 with stderr:<stdin>:6:5: error: return type of global function 'todoSequence()' requires that 'Never' conform to 'Sequence' fatalError("TODO") // Return type of global function 'todoSequence()' requires that 'Never' conform to 'Sequence' ^ <stdin>:5:24: note: opaque return type declared here func todoSequence() -> some Sequence { ^~~~~~~~~~~~~