You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Attempting to generate docs against an fsharp assembly with a particular shape of active pattern throws an exception. I created a minimum reproduction https://github.com/MadelineRitchie/docfx-exception-repro and the code that causes docfx to fail is there in src/lib/Library.fs
I ran docfx with a debugger attached, and this particular FSharp output fails the Debug.Assert in SpecIdHelper.cs at line 49 which currently looks like Debug.Assert(symbol.TypeParameters.Length > int.Parse(match.Value.Substring(2)));
The text was updated successfully, but these errors were encountered:
Describe the bug
Attempting to generate docs against an fsharp assembly with a particular shape of active pattern throws an exception. I created a minimum reproduction https://github.com/MadelineRitchie/docfx-exception-repro and the code that causes docfx to fail is there in
src/lib/Library.fs
To Reproduce
Steps to reproduce the behavior:
cd src/docfx
docfx.exe .\docfx.json --serve
Expected behavior
Doc output should be generated.
Context (please complete the following information):
Additional context
The full console output is in the repro repo at https://github.com/MadelineRitchie/docfx-exception-repro/blob/main/console-output-with-error.txt
I ran docfx with a debugger attached, and this particular FSharp output fails the Debug.Assert in SpecIdHelper.cs at line 49 which currently looks like
Debug.Assert(symbol.TypeParameters.Length > int.Parse(match.Value.Substring(2)));
The text was updated successfully, but these errors were encountered: