Closed goswinr closed 2 years ago
I believe the initializer should be called with 'i' not 'count' like in Array.init here: https://github.com/dotnet/fsharp/blob/ec5bad3a391357e03ff2286a264f0e4faf7d840d/src/fsharp/FSharp.Core/local.fs#L997
see also https://github.com/dotnet/fsharp/blob/bf2c086c2852426624c92ca77f091e8994ced380/src/fsharp/utils/ResizeArray.fs#L20
I believe the initializer should be called with 'i' not 'count' like in Array.init here: https://github.com/dotnet/fsharp/blob/ec5bad3a391357e03ff2286a264f0e4faf7d840d/src/fsharp/FSharp.Core/local.fs#L997