(self)
| 184 | self.undefined_refs: dict[str, set[NameExpr]] = {} |
| 185 | |
| 186 | def copy(self) -> Scope: |
| 187 | result = Scope([s.copy() for s in self.branch_stmts], self.scope_type) |
| 188 | result.undefined_refs = self.undefined_refs.copy() |
| 189 | return result |
| 190 | |
| 191 | def record_undefined_ref(self, o: NameExpr) -> None: |
| 192 | if o.name not in self.undefined_refs: |
no test coverage detected