(&mut self)
| 1142 | } |
| 1143 | |
| 1144 | fn add_classdict_freevar(&mut self) { |
| 1145 | let table = self.tables.last_mut().unwrap(); |
| 1146 | let name = "__classdict__"; |
| 1147 | let symbol = table |
| 1148 | .symbols |
| 1149 | .entry(name.to_owned()) |
| 1150 | .or_insert_with(|| Symbol::new(name)); |
| 1151 | symbol.scope = SymbolScope::Free; |
| 1152 | symbol |
| 1153 | .flags |
| 1154 | .insert(SymbolFlags::REFERENCED | SymbolFlags::FREE_CLASS); |
| 1155 | } |
| 1156 | |
| 1157 | fn add_conditional_annotations_freevar(&mut self) { |
| 1158 | let table = self.tables.last_mut().unwrap(); |
no test coverage detected