Zeina Migeed

Results 19 comments of Zeina Migeed

Does the following work for you? ``` from typing import * x: Optional[int | str] = None ``` It does on the latest version of Pyre. If this doesn't work,...

To verify if the error is due to unsupported syntax, could you doublecheck if the code above type check for you?

Did you test that one small repro or the entire code?

I see. Thanks for the information. Are we able to run on the same version of the original code though? because the error message you have originally suggests the syntax...

Totally understand the frustration. This is a known issue. Unfortunately, the fix will take some time to land, so I would recommend finding a workaround.

The example above is no longer a type error. Is the issue resolved? cc @rchen152 and @grievejia