-
Notifications
You must be signed in to change notification settings - Fork 772
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
Invalid custom attribute blob on FSharpList..ctor
#15140
Labels
Milestone
Comments
This was referenced Apr 25, 2023
MichalStrehovsky
added a commit
to MichalStrehovsky/runtime
that referenced
this issue
Apr 25, 2023
Works around dotnet/fsharp#15140 and it's also just good hygiene.
FYI @KevinRansom |
It seems that #15079 broke it |
MichalStrehovsky
added a commit
to dotnet/runtime
that referenced
this issue
Apr 26, 2023
…5285) Works around dotnet/fsharp#15140 and it's also just good hygiene.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The custom attribute blob on
FSharpList..ctor
is invalid:Notice the
FSharpList`1[[!0]]
part. The intent of the!0
is to represent the first generic argument but that's not something the SerString format supports. See dotnet/runtime#4416 for a spec of the format.Following C# program throws
System.TypeLoadException: 'Could not load type '!0' from assembly 'FSharp.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.'
(sorry, I have no clue how to write this in F#):The text was updated successfully, but these errors were encountered: