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] Detect if attribute definition conflicts with base class/trait (#14535)
Require that all the attribute definitions have the same type.
Overriding with a different type is unsafe, and we don't want to add
runtime checks when accessing an attribute that might be overridden with
a different type. If the types would have different runtime
representations, supporting that at all would be complicated.
Fixesmypyc/mypyc#970.
0 commit comments