Skip to content

Commit

Permalink
workaround compiler bug. dotnet/fsharp#759 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthid committed Apr 25, 2016
1 parent 3c72455 commit 1b5a968
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Paket/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,10 @@ let generateIncludeScripts (results : ParseResults<GenerateIncludeScriptsArgs>)
| [] -> [Paket.LoadingScripts.ScriptGeneration.CSharp; Paket.LoadingScripts.ScriptGeneration.FSharp]
| xs -> xs

let workaround() = null |> ignore
for framework in frameworksToGenerate do
tracefn "generating scripts for framework %s" (framework.ToString())
workaround() // https://github.com/Microsoft/visualfsharp/issues/759#issuecomment-162243299
for scriptType in scriptTypesToGenerate do
Paket.LoadingScripts.ScriptGeneration.generateScriptsForRootFolder scriptType framework rootFolder

Expand Down

0 comments on commit 1b5a968

Please sign in to comment.