Open
Description
Description
swift ./-
should try and read the file named -
in the current folder. Instead it reads from stdin, just like swift -
.
Reproduction
- Create a swift file name
-
in your cwd; - Run
swift ./-
Expected behavior
Swift should execute the file just created.
Environment
swift-driver version: 1.87.3 Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
Target: arm64-apple-macosx14.0
Additional information
No response