Skip to content

Errors while reading the F# metadata using compiler from SDK 6.0.100-rc.1 #12190

@gsomix

Description

@gsomix

Mysterious warnings occur while compiling pulsar-client-dotnet. Please take a look at build log from #12189:

warning FS3186: An error occurred while reading the F# metadata node at position 4 in table 'itycons' of assembly...

I reproduced it at local machine. Steps:

git clone git@github.com:fsharplang-ru/pulsar-client-dotnet.git3
git checkout 4e353ea
dotnet tool restore
dotnet restore
dotnet build -c Release

Expected behavior

Compilation completes without warnings and errors.

Actual behavior

There are warnings in build log:

~\Documents\Workspace\pulsar-client-dotnet\examples\FsharpExamples\unknown(1,1): warning FS3186: An error occurred while reading the F# metadata node at position 4 in table 'itycons' of assembly 'Pulsar.Client, Version=2.8.1.0, Culture=neutral, PublicKeyToken=null'. The node had no matching declaration. Please report this warning. You may need to recompile the F# assembly you are using. [C:\Users\gsomix\Documents\Workspace\pulsar-client-dotnet\examples\FsharpExamples\FsharpExamples.fsproj]

~\Documents\Workspace\pulsar-client-dotnet\examples\FsharpExamples\unknown(1,1): warning FS3186: An error occurred while reading the F# metadata node at position 5 in table 'itycons' of assembly 'Pulsar.Client, Version=2.8.1.0, Culture=neutral, PublicKeyToken=null'. The node had no matching declaration. Please report this warning. You may need to recompile the F# assembly you are using. [C:\Users\gsomix\Documents\Workspace\pulsar-client-dotnet\examples\FsharpExamples\FsharpExamples.fsproj]

~\Documents\Workspace\pulsar-client-dotnet\examples\FsharpExamples\unknown(1,1): warning FS3186: An error occurred while reading the F# metadata node at position 6 in table 'itycons' of assembly 'Pulsar.Client, Version=2.8.1.0, Culture=neutral, PublicKeyToken=null'. The node had no matching declaration. Please report this warning. You may need to recompile the F# assembly you are using. [C:\Users\gsomix\Documents\Workspace\pulsar-client-dotnet\examples\FsharpExamples\FsharpExamples.fsproj]

Related information

> dotnet --version
6.0.100-rc.1.21463.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions