You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[mypyc] Support type narrowing of native int types using "int" (#14524)
Now `isinstance(x, int)` can be used to narrow a union type that
includes a native int type. In mypyc unions there is no runtime
distinction between different integer types -- everything is represented
at runtime as boxed `int` values anyway.
Also test narrowing a native int using the same native int type.
Work on mypyc/mypyc#837.
0 commit comments