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
Summary:
untype_opt and unwrap_class_object_silently both promote ClassDef to ClassType.
This means that the type of `list` gets narrowed to `list[Any]` after the intersection.
This diff removes that behavior if both sides are ClassDefs
closes#1164
Reviewed By: stroxler
Differential Revision: D84313272
fbshipit-source-id: 866ea3930dae7046a31a9b843dea12ff95310e1a
0 commit comments