Avatar
Avatar
omochimetaru
@swift-main protocol P {} func makeP() -> some P { return fatalError() }
swiftNightly BOT 5/30/2022 12:47 PM
exit status: 1 with stderr:<stdin>:3:12: error: return type of global function 'makeP()' requires that 'Never' conform to 'P' return fatalError() ^ <stdin>:2:17: note: opaque return type declared here func makeP() -> some P { ^~~~~~