Skip to content

Conversation

@Bersier
Copy link
Contributor

@Bersier Bersier commented Dec 15, 2025

Better handling of trivial ranges in distributeArgs.

Currently, distributeArgs immediately returns false for invariant type parameters when encountering a Range argument.

However, nothing currently disallows trivial ranges from being constructed (see paramInstances). In these cases, the range effectively represents a precise type.

Support trivial ranges in ApproximatingTypeMap.distributeArgs

Currently, `distributeArgs` immediately returns `false` for invariant type parameters when encountering a `Range` argument.

However, nothing currently prevents trivial ranges from being constructed (see `paramInstances`). In these cases, the range effectively represents a precise type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant