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