Skip to content

Conversation

@dsyme
Copy link
Contributor

@dsyme dsyme commented Apr 14, 2019

This is the fix for #6532.

Testing would be needed, however first I'll run this through CI as existing IL code generation testing may actually catch this.

@dsyme
Copy link
Contributor Author

dsyme commented Apr 14, 2019

OK, well, no tests failed so we have to add a test...

Copy link
Contributor

@KevinRansom KevinRansom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment change, then this looks good to go.

// #NoMono #NoMT #CodeGen #EmittedIL #Tuples
type A() = class end

// A code+optimization pattern used in Fabulous, see https://github.com/Microsoft/visualfsharp/issues/6532
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we lose this comment. It makes life tricky when doing a pedigree scan.

@KevinRansom KevinRansom merged commit af5b4eb into dotnet:master Apr 16, 2019
@dsyme
Copy link
Contributor Author

dsyme commented Apr 17, 2019

What's a "pedigree scan"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants