Skip to content

Convert V to ValueType #306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 30, 2021
Merged

Convert V to ValueType #306

merged 1 commit into from
Oct 30, 2021

Conversation

nipunn1313
Copy link
Owner

See protocolbuffers/protobuf#8182 which
will make it into protobuf 3.20.0

Have to use a V = Union[ValueType] hax, because
V = ValueType is interpreted as a value rather than alias
V: TypeAlias = ValueType appears buggy within nested scopes.

Fixes #169

See protocolbuffers/protobuf#8182 which
will make it into protobuf 3.20.0

Have to use a `V = Union[ValueType]` hax, because
`V = ValueType` is interpreted as a value rather than alias
`V: TypeAlias = ValueType` appears buggy within nested scopes.

Fixes #169
@nipunn1313 nipunn1313 merged commit cd9d1f6 into main Oct 30, 2021
@nipunn1313 nipunn1313 deleted the ValueType branch October 31, 2021 06:36
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.

Upstream V = int to protoc's EnumTypeWrapper runtime
1 participant