We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Compiling code that uses anonymous records with --debug:portable creates a pdb file that crashes Pdb2Pdb with the error "Invalid compressed integer"
--debug:portable
type A = { X : int } let x = {| X = 7 |} // This doesn't work //let x = { X = 7 } // This does let Main (argv: string[]) = x.ToString().Length
fsc --debug:portable test.fs pdb2pdb test.exe
The portable pdb is converted to a desktop pdb
pdb2pdb complains of an "invalid compressed integer" in the corefx metadata blob reader https://github.com/dotnet/corefx/blob/a10890f4ffe0fadf090c922578ba0e606ebdd16c/src/System.Reflection.Metadata/src/System/Reflection/Metadata/BlobReader.cs#L478
Use regular records
Provide any related information
The text was updated successfully, but these errors were encountered:
cc @KevinRansom @dsyme
Sorry, something went wrong.
@marklam, thanks,
good catch.
Will take a look.
This is fixed
No branches or pull requests
Compiling code that uses anonymous records with
--debug:portable
creates a pdb file that crashes Pdb2Pdb with the error "Invalid compressed integer"Repro steps
Expected behavior
The portable pdb is converted to a desktop pdb
Actual behavior
pdb2pdb complains of an "invalid compressed integer" in the corefx metadata blob reader
https://github.com/dotnet/corefx/blob/a10890f4ffe0fadf090c922578ba0e606ebdd16c/src/System.Reflection.Metadata/src/System/Reflection/Metadata/BlobReader.cs#L478
Known workarounds
Use regular records
Related information
Provide any related information
The text was updated successfully, but these errors were encountered: