Skip to content

Commit

Permalink
Merge pull request #9889 from dotnet/merges/master-to-feature/string-…
Browse files Browse the repository at this point in the history
…interp

Merge master to feature/string-interp
  • Loading branch information
cartermp authored Aug 6, 2020
2 parents 3a4066c + 2b38aa7 commit d27379f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/FSharp.Test.Utilities/Compiler.fs
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,12 @@ module rec Compiler =

let withOptions (options: string list) (cUnit: CompilationUnit) : CompilationUnit =
match cUnit with
| FS fs -> FS { fs with Options = options }
| FS fs -> FS { fs with Options = fs.Options @ options }
| _ -> failwith "withOptions is only supported n F#"

let withPreview (cUnit: CompilationUnit) : CompilationUnit =
match cUnit with
| FS fs -> FS { fs with Options = [ "--langversion:preview" ] }
| FS fs -> FS { fs with Options = fs.Options @ [ "--langversion:preview" ] }
| _ -> failwith "withPreview is only supported in F#"

let asLibrary (cUnit: CompilationUnit) : CompilationUnit =
Expand Down

0 comments on commit d27379f

Please sign in to comment.