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
def question() -> bool:
return True
class A:
arg: int | None
inst = A()
# abs is load bearing
inst.arg = abs(int(0))
if question():
# see bytecode size comment in the absolute jump case above
inst.arg += 2
Describe the Bug
Sandbox Link
https://pyrefly.org/sandbox/?code=CYUwZgBAjgriDOAXAlgewHYAoCUEC0AfBAEaqoA2AXAFAR0QBOIiMD6EAKg3NbwMbkAhvHgQAgjXoRBDAOaUIydIggAfCADkMICLyVIIAXnE5qAYmnFRyUeVSDgJEDKWzq%2BxADoZso5fiYSoiYAAzY2HqQsAgoGDiS9BbwIDrEAJ6IIHyooBDwyABeOtkAtiUgyorsiAAWOoJWFDCZEABWMCUADhB8wvWkAG4gtPQe3nIQANTGAExAA&version=3.12
(Only applicable for extension issues) IDE Information
No response