### Describe the Bug ``` class A: a: int = 0 class B: b = a # should fail, a is not in scope ``` At runtime this fails with a NameError. We seem to deal with the scope properly from nested `def` but not from the class body itself. ### Sandbox Link https://pyrefly.org/sandbox/?code=MYGwhgzhAECCBcAoaLpntAlgOwC7QF5oAGRZVUSGAISVXugCNC0g ### (Only applicable for extension issues) IDE Information _No response_