Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Conversation

@ScottCarda-MS
Copy link
Contributor

Changes the method in the C# generation for determining if a callable is a generic callable. The old behavior counts the number of type parameters referenced in the types of the regular parameter list and the return type. This causes a bug to occur when type parameters are listed for a callable that are not used in their parameter list or return type. The new behavior simply counts the length of the type parameters list for the callable. See issue #299.

@bettinaheim
Copy link
Contributor

Please wait with merging for @anpaz-msft to take a look at this one, since I believe there might be some perf considerations here.

Copy link
Member

@anpaz anpaz left a comment

Choose a reason for hiding this comment

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

except for my two minor questions, lgtm.

@ScottCarda-MS ScottCarda-MS merged commit ebd5a47 into master Jul 11, 2020
@ScottCarda-MS ScottCarda-MS deleted the sccarda/GenericParameterBugFix branch October 15, 2020 23:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants