Skip to content

Support using a parent parametric in an invocation within a lambda.#4039

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_893588197
Apr 6, 2026
Merged

Support using a parent parametric in an invocation within a lambda.#4039
copybara-service[bot] merged 1 commit intomainfrom
test_893588197

Conversation

@copybara-service
Copy link
Copy Markdown

Support using a parent parametric in an invocation within a lambda.

Supporting calling a parametric function within a lambda requires tracking an optional target_struct in the ParametricContext for an invocation. The target struct parametrics are used when validating the ParametricEnv for an invocation in an impl where both the struct and the impl fn contain parametric bindings.

Supporting calling a parametric function within a lambda requires tracking an optional `target_struct` in the `ParametricContext` for an invocation. The target struct parametrics are used when validating the `ParametricEnv` for an invocation in an impl where both the struct and the impl fn contain parametric bindings.

PiperOrigin-RevId: 895368847
@copybara-service copybara-service bot merged commit 6cb9969 into main Apr 6, 2026
@copybara-service copybara-service bot deleted the test_893588197 branch April 6, 2026 16:43
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