Skip to content

The new dotnet SDK ParallelCompilation=true causing issues in TypeProviders #20060

Description

@Thorium

I'm linking this here, because the TypeProvider code is included with this repository as well.

ProvidedTypeDefinition member realization is not thread-safe, causes users to get errors like FS0193: type 'X' is not compatible with type 'X' and FS0001: type 'X' does not match type 'X' under ParallelCompilation=true (new default option).

Further details and suggested fix in the TypeProvider SDK repository:
fsprojects/FSharp.TypeProviders.SDK#521

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Bug.

    Projects

    Status
    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions