Skip to content

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

Draft
copybara-service[bot] wants to merge 1 commit intomainfrom
test_893588197
Draft

Support using a parent parametric in an invocation within a lambda.#4039
copybara-service[bot] wants to merge 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: 893588197
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