Running "fake new fsx="post title" followed by "fake generate" fails with the following error:
Running build failed.
Error:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at FSharp.CodeFormat.CodeFormatAgent.ParseSource (System.String file, System.String source, Microsoft.FSharp.Core.FSharpOption1[T] options, Microsoft.FSharp.Core.FSharpOption1[T] defines) [0x0002d] in <5750b7f77dc004b2a7450383f7b75057>:0
at FSharp.Literate.ParseScript.parseScriptFile (System.String file, System.String content, FSharp.Literate.CompilerContext ctx) [0x00001] in <5750b7fc9515653da7450383fcb75057>:0
Description
Running "fake new fsx="post title" followed by "fake generate" fails with the following error:
Running build failed. Error: System.IndexOutOfRangeException: Index was outside the bounds of the array. at FSharp.CodeFormat.CodeFormatAgent.ParseSource (System.String file, System.String source, Microsoft.FSharp.Core.FSharpOption
1[T] options, Microsoft.FSharp.Core.FSharpOption
1[T] defines) [0x0002d] in <5750b7f77dc004b2a7450383f7b75057>:0 at FSharp.Literate.ParseScript.parseScriptFile (System.String file, System.String content, FSharp.Literate.CompilerContext ctx) [0x00001] in <5750b7fc9515653da7450383fcb75057>:0Repro steps
Please provide the steps required to reproduce the problem Follow steps from: http://fsprojects.github.io/FsBlog/blog/2013/11-09-getting-started/index.html
i.e.
Step 5 fails.
Expected behavior
Works
Actual behavior
It doesn't
Known workarounds
None
Related information
.NET Core SDK (reflecting any global.json): Version: 2.1.302 Commit: 9048955601
Runtime Environment: OS Name: Mac OS X OS Version: 10.14 OS Platform: Darwin RID: osx-x64 Base Path: /usr/local/share/dotnet/sdk/2.1.302/
Host (useful for support): Version: 2.1.2 Commit: 811c3ce6c0
.NET Core SDKs installed: 2.1.4 [/usr/local/share/dotnet/sdk] 2.1.302 [/usr/local/share/dotnet/sdk]
.NET Core runtimes installed: Microsoft.AspNetCore.All 2.1.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.1.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]