As of Xcode 14 (Swift 5.7),
swift repl must be used to enter the REPL. Previously, one could just call
swift without arguments.
Shouldn't that be documented in the CHANGELOG? (I could not find it.)
If yes, would Issues · apple/swift · GitHub be the correct place to report this as a bug?
(PS: I wasn't sure how to tag this correctly, feel free to move this question to the appropriate category.)