Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error FS2014: A problem occurred writing the binary #106

Closed
pchalamet opened this issue Oct 11, 2016 · 0 comments
Closed

error FS2014: A problem occurred writing the binary #106

pchalamet opened this issue Oct 11, 2016 · 0 comments
Labels

Comments

@pchalamet
Copy link
Contributor

Hello,

While using Yaml type provide, I encounter this error:

FSC : error FS2014: A problem occurred writing the binary 'c:\src\oss\bugfs\obj\Debug\bugfs.dll': Error in pass3 for type ViewSerializer, err or: Error in GetMethodRefAsMethodDefIdx for mref = ("get_view", "ViewConfig"), error: Exception of type 'Microsoft.FSharp.Compiler.AbstractIL.I LBinaryWriter+MethodDefNotFound' was thrown. [c:\src\oss\bugfs\bugfs.fsproj]
This is due to several type definition for the same yaml file in different modules. From what I've been able to see, commenting yaml type definition in Graph.fs solves the problem - this is useless I agree but I didn't think this could upsets fs compiler this way.

I tried to extract offending code and get a minimal reproduction case here:
https://github.com/pchalamet/bugfs

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants