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
{{ message }}
This repository was archived by the owner on Jan 3, 2023. It is now read-only.
I was running the fssrgen.fsx script on Mono using the fsi.exe from Fsharp.Compiler.Tools.
Roughly:
mono fsi.exe fssrgen.fsx ... FSIstrings.txt ....
These two commits shows some adjustments I needed to make to get the script to run. Specifically before these changes the execution crashed when generic code was allocating an array of type HoleType (which is one of the type being defined in the script).
This looks like a problem in type realization and intialization. There are probably workarounds along the lines of "put the type in its own namespace" or "put the type in its own file" or something. But it should just work.
The workaround I used was "simplify the script so it doesn't define so many types".