Skip to content

Commit

Permalink
Replace TailCall in FCS with Microsoft.FSharp.Core.TailCall
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed Sep 13, 2024
1 parent 7181e32 commit 92619f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ let updateFileRaw (file: FileInfo) =
|> Array.map (fun line ->
if line.Contains("FSharp.Compiler") then
line.Replace("FSharp.Compiler", "Fantomas.FCS")
elif line.Contains("[<TailCall>]") then
line.Replace("[<TailCall>]", "[<Microsoft.FSharp.Core.TailCall>]")
else
line)
File.WriteAllLines(file.FullName, updatedLines)
Expand Down

0 comments on commit 92619f5

Please sign in to comment.