-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Copy link
Labels
Description
Compiling the following snippet in a dotnet interactive session (either in Visual Studio Code or with the command line dotnet fsi) fails with an error similar to error FS0192: internal error: duplicate entry 'f@6' in type index table (with an entry name that is not constant):
open System
let f (start: DateTime) (stop: DateTime) (input: (DateTime * 'a) list) =
[
for i in start.Ticks .. stop.Ticks ->
input |> List.where (fun (k, v) -> true)
]I wasn't able to isolate the problem further.
This is also failing in a Polyglot Notebook with error input.fsx (1,1)-(1,1) interactive error internal error: Duplicate type name within an assembly....
Known workarounds
I couldn't find any.
Related information
Provide any related information (optional):
I'm running Windows 11, and I just updated my .NET SDK version just in case:
> dotnet --info
.NET SDK:
Version: 10.0.101
Commit: fad253f51b
Workload version: 10.0.100-manifests.9f71effe
MSBuild version: 18.0.6+fad253f51
[...]
brianrourkebollbrianrourkeboll and majocha
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done