Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[checker] Fix bug where recursive type could be inferred#1738

Merged
copybara-service[bot] merged 1 commit into
mastercel-expr/cel-cpp:masterfrom
test_817287593cel-expr/cel-cpp:test_817287593Copy head branch name to clipboard
Oct 9, 2025
Merged

[checker] Fix bug where recursive type could be inferred#1738
copybara-service[bot] merged 1 commit into
mastercel-expr/cel-cpp:masterfrom
test_817287593cel-expr/cel-cpp:test_817287593Copy head branch name to clipboard

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Oct 9, 2025

Copy link
Copy Markdown

[checker] Fix bug where recursive type could be inferred

The cycle check during inference had a bug where certain recursive definitions
could be inferred. This would lead to the checker eventually crashing when it
tried to realize a concrete type from the substitution map.

ex. [optional.none()].map(x, [?x, null, x])

@copybara-service copybara-service Bot force-pushed the test_817287593 branch 2 times, most recently from 79bc97f to c422916 Compare October 9, 2025 19:34
The cycle check during inference had a bug where certain recursive definitions
could be inferred. This would lead to the checker eventually crashing when it
tried to realize a concrete type from the substitution map.

ex. `[optional.none()].map(x, [?x, null, x])`

PiperOrigin-RevId: 817307359
@copybara-service copybara-service Bot merged commit 033986e into master Oct 9, 2025
@copybara-service copybara-service Bot deleted the test_817287593 branch October 9, 2025 20:11
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.