Skip to content
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

When raising not-supported-yet for Alias = Union[T, ...] set the type… #635

Merged
merged 1 commit into from Jul 30, 2020

Conversation

rchen152
Copy link
Contributor

… to Any.

Allows the following:

Alias = Union[T, int]
x: Alias[float]

to raise an error when Alias is defined but not when it is used.

PiperOrigin-RevId: 323862871

… to Any.

Allows the following:

  Alias = Union[T, int]
  x: Alias[float]

to raise an error when Alias is defined but not when it is used.

PiperOrigin-RevId: 323862871
@google-cla google-cla bot added the cla: yes label Jul 30, 2020
@rchen152 rchen152 merged commit 75e64fb into master Jul 30, 2020
@rchen152 rchen152 deleted the google_sync branch July 30, 2020 23:03
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.

None yet

2 participants