We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16c3e75 commit 2da61b8Copy full SHA for 2da61b8
src/fsharp/fsc.fs
@@ -359,7 +359,7 @@ module InterfaceFileWriter =
359
if tcConfig.printSignatureFile="" then
360
Console.Out
361
else
362
- new StreamWriter(FileSystem.FileStreamReadWriteShim(tcConfig.printSignatureFile), Encoding.UTF8) :> TextWriter
+ new StreamWriter(FileSystem.FileStreamCreateShim(tcConfig.printSignatureFile), Encoding.UTF8) :> TextWriter
363
364
if tcConfig.printSignatureFile <> "" && not (List.exists (FileSystemUtils.checkSuffix tcConfig.printSignatureFile) FSharpLightSyntaxFileSuffixes) then
365
fprintfn os "#light"
0 commit comments