Skip to content

Avoid crashing in case where a TypeVar is trying to be matched with a ParamSpecMatch. It seems there's currently no machinery to match it, so we just avoid it from crashing, by considering them to match.#1922

Merged
copybara-service[bot] merged 1 commit into
mainfrom
cl/774800507
Jun 23, 2025

Conversation

@copybara-service
Copy link
Copy Markdown

@copybara-service copybara-service Bot commented Jun 23, 2025

Avoid crashing in case where a TypeVar is trying to be matched with a ParamSpecMatch. It seems there's currently no machinery to match it, so we just avoid it from crashing, by considering them to match.

@copybara-service copybara-service Bot changed the title Avoid crashing in case where a TypeVar is trying to be matched with a ParamSpecMatch. It seems there's currently no machinery to match it, so we just avoid it from crashing. Avoid crashing in case where a TypeVar is trying to be matched with a ParamSpecMatch. It seems there's currently no machinery to match it, so we just avoid it from crashing, by considering them to match. Jun 23, 2025
… ParamSpecMatch. It seems there's currently no machinery to match it, so we just avoid it from crashing, by considering them to match.

PiperOrigin-RevId: 774822686
@copybara-service copybara-service Bot merged commit cd17c50 into main Jun 23, 2025
@copybara-service copybara-service Bot deleted the cl/774800507 branch June 23, 2025 16:59
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