question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FS3186: An error occurred while reading the F# metadata node at position X in table 'itypars' of assembly .... The node had no matching declaration

See original GitHub issue

(With F#4) If I compile an assembly with the following code:

namespace badlib

open System
open System.Windows.Input

type Interface2<'T> =
    inherit ICommand

type Class<'T>() =
    interface Interface2<'T> with
        [<CLIEvent>]
        member __.CanExecuteChanged : IEvent<EventHandler,EventArgs> = Event<EventHandler,EventArgs>().Publish
        member __.Execute(parameter : obj): unit = ()
        member __.CanExecute(parameter : obj): bool = false

Then referencing the assembly from another assembly produces the following build error:

FSC: warning FS3186: An error occurred while reading the F# metadata node at position 4 in table 'itypars' of assembly 'badlib, Version=0.0.0.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.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

8reactions
Thoriumcommented, May 8, 2018

After Visual Studio 15.7 update I get similar kind of

FSC: warning FS3186: An error occurred while reading the F# metadata node at position 1 in table
'itycons' of assembly '...'. The node had no matching declaration. Please report this warning. 
You may need to recompile the F# assembly you are using.
0reactions
dsymecommented, Nov 10, 2015

Closing as this was fixed by the commit above

Read more comments on GitHub >

github_iconTop Results From Across the Web

jsf - Unable to use f:metadata f:viewAction from inside ...
In the following page i am not able to load automobileLists since the method to populate it is outside the component in a...
Read more >
Cannot find the declaration of element
Go to VS Code: Code => Preference => Settings => (search for) Validation ==> Click on XML (from the left Nav) and Uncheck...
Read more >
Could not find declaration module 'fawn' - Node
Hi, I am trying to work on Mosh's NodeJS tutorial. I am on lesson 8 of Mongoose-Modelling Relationships with Connected Data.
Read more >
metadata (JSF 2.2 View Declaration Language: Facelets ...
Declare the metadata facet for this view. This must be a child of the <f:view> . This tag must reside within the top...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found