Skip to content

Conversation

CyrusNajmabadi
Copy link
Member

The compiler is often too permissive here. Specifically when an extension is on a naked type parameter. This means that lots of extensions of the form E<T>(T t) where T : IComplexConstraint end up showing up where they shouldn't (pretty much on all objects).

This adds a poor man's filtering step where we try to filter out obvious cases where the receiver type in question could never satisfy those constraints.

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@CyrusNajmabadi
Copy link
Member Author

@dibarbet ptal.

@CyrusNajmabadi CyrusNajmabadi requested a review from dibarbet June 11, 2025 21:22
@CyrusNajmabadi CyrusNajmabadi enabled auto-merge June 11, 2025 21:51
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.

3 participants