Skip to content

Conversation

@TristonianJones
Copy link
Collaborator

@TristonianJones TristonianJones commented Jan 13, 2026

Updates to the type resolution rules in accordance with google/cel-spec#506

@TristonianJones TristonianJones changed the title Type collision fix Namespace resolution fix Jan 13, 2026
if len(a.disambiguateNames) > 0 {
rootVars = vars
for rootVars.Parent() != nil {
rootVars = rootVars.Parent()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are there any cases where the library user might implement Parent? (something like user types baseActivation{} extendedActivation{parent: baseActivation*}?

or is it only ever implemented by the interpreter for locals?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is a good point. It's probably safer to detect local activations

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