Skip to content

Commit e4950e6

Browse files
authoredMar 10, 2025··
add extraArgs in the end so they override the defaults (#18360)
1 parent 7cb2cea commit e4950e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tests/FSharp.Compiler.Service.Tests/Common.fs

+1-1
Original file line numberDiff line numberDiff line change
@@ -484,5 +484,5 @@ let createProjectOptions fileSources extraArgs =
484484
let fileName = changeExtension (getTemporaryFileNameInDirectory tempDir) ".fs"
485485
FileSystem.OpenFileForWriteShim(fileName).Write(fileSource)
486486
fileName |]
487-
let args = [| yield! extraArgs; yield! mkProjectCommandLineArgs (dllName, []) |]
487+
let args = [| yield! mkProjectCommandLineArgs (dllName, []); yield! extraArgs |]
488488
{ checker.GetProjectOptionsFromCommandLineArgs (projFileName, args) with SourceFiles = sourceFiles }

0 commit comments

Comments
 (0)