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

Fix 362 - Depickling assertion followed by nullref internal errors in units-of-measure case #430

Closed
wants to merge 3 commits into from

Conversation

dsyme
Copy link
Contributor

@dsyme dsyme commented May 9, 2015

This converts a debug-only message for #362 into a check, a warning and advice. The warning is not attributed to a specific line number, rather we use "range0".

I don't know if it's worth adding a test case for this. When using it manually on #362 we now get this:

unknown(1,1): warning FS3186: An error occurred while reading the F# metadata no de at position 10 in table 'itypars' of assembly 'a, Version=0.0.0.0, Culture=ne utral, PublicKeyToken=null'. The node had no matching declaration. Please report this warning. You may need to recompile the F# assembly you are using.

which is of some help, though it is followed by the errors as before. (I'm loathe to raise a hard "error" condition here on import as in many cases the assembly will still be usable.)

@dsyme dsyme changed the title Fix 362 Fix 362 - Depickling assertion followed by nullref internal errors in units-of-measure case May 11, 2015
@latkin
Copy link
Contributor

latkin commented May 18, 2015

LGTM

@dsyme dsyme closed this in e5cdef9 May 19, 2015
@latkin latkin added the fixed label May 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants