Skip to content

Conversation

@vitek-karas
Copy link
Member

When create a type reference for the target of a type forwarder, if the type forwarder is for a nested type, we have to build a whole tree of type references for all of the declaring types and not just the final nested type.

Enabled tests which were already added for this case (and fixed a bug in them)

This is a fix for #2359

When create a type reference for the target of a type forwarder, if the type forwarder is for a nested type, we have to build a whole tree of type references for all of the declaring types and not just the final nested type.

Enabled tests which were already added for this case (and fixed a bug in them)
@vitek-karas vitek-karas merged commit 5eee321 into dotnet:main Nov 22, 2021
@vitek-karas vitek-karas deleted the FixNestedTypeForwarder branch November 22, 2021 13:50
vitek-karas added a commit to vitek-karas/linker that referenced this pull request Nov 22, 2021
When create a type reference for the target of a type forwarder, if the type forwarder is for a nested type, we have to build a whole tree of type references for all of the declaring types and not just the final nested type.

Enabled tests which were already added for this case (and fixed a bug in them)
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
When create a type reference for the target of a type forwarder, if the type forwarder is for a nested type, we have to build a whole tree of type references for all of the declaring types and not just the final nested type.

Enabled tests which were already added for this case (and fixed a bug in them)

Commit migrated from dotnet/linker@5eee321
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
When create a type reference for the target of a type forwarder, if the type forwarder is for a nested type, we have to build a whole tree of type references for all of the declaring types and not just the final nested type.

Enabled tests which were already added for this case (and fixed a bug in them)

Commit migrated from dotnet/linker@0e2d10c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants