Skip to content

Commit b319479

Browse files
authored
Merge pull request #1192 from beccadax/another-e-prescription
Fix accidental use of new feature in -e
2 parents 9eb96cf + cfc266e commit b319479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDriver/Driver/Driver.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1795,7 +1795,7 @@ extension Driver {
17951795
fileSystem: FileSystem
17961796
) throws -> [TypedVirtualPath] {
17971797
var swiftFiles = [String: String]() // [Basename: Path]
1798-
var paths = try parsedOptions.allInputs.map { input in
1798+
var paths: [TypedVirtualPath] = try parsedOptions.allInputs.map { input in
17991799
// Standard input is assumed to be Swift code.
18001800
if input == "-" {
18011801
return TypedVirtualPath(file: .standardInput, type: .swift)

0 commit comments

Comments
 (0)