-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
affects-mypycbugmypy got something wrongmypy got something wrongtopic-type-narrowingConditional type narrowing / binderConditional type narrowing / binder
Description
Have code that uses type alias ubiquitously:
type Count = int | Numwhere Num is int-like. Num and int interact and coexist. Has been running fine compiled with Mypyc.
e64a84b has introduced some problem. Now getting TypeError: tm.num.Num object expected; got int.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
affects-mypycbugmypy got something wrongmypy got something wrongtopic-type-narrowingConditional type narrowing / binderConditional type narrowing / binder