Skip to content

Conversation

TristonianJones
Copy link
Collaborator

There are two locations where a type parameter can get accidentally tagged as a substitution for itself. The original code caught one location, and the code since https://github.com/google/cel-go/releases/tag/v0.11.1 caught a different one.

This change catches the problematic tagging at both locations, thus avoiding a stack overflow when a type is marked
as a substitution of itself.

@TristonianJones TristonianJones requested a review from jcking May 13, 2022 17:19
@TristonianJones TristonianJones force-pushed the occur-check-cycle-fix branch from 91aec9d to 434b5f3 Compare May 13, 2022 17:22
@TristonianJones TristonianJones merged commit 11b2ffc into google:master May 13, 2022
@TristonianJones TristonianJones deleted the occur-check-cycle-fix branch May 13, 2022 17:33
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.

2 participants