(self)
| 3296 | self.check_for_invalid_options() |
| 3297 | |
| 3298 | def check_for_invalid_options(self) -> None: |
| 3299 | if self.options.mypyc and not self.options.strict_bytes: |
| 3300 | self.manager.errors.set_file(self.xpath, self.id, options=self.options) |
| 3301 | self.manager.error( |
| 3302 | None, "Option --strict-bytes cannot be disabled when using mypyc", blocker=True |
| 3303 | ) |
| 3304 | |
| 3305 | def semantic_analysis_pass1(self) -> None: |
| 3306 | """Perform pass 1 of semantic analysis, which happens immediately after parsing. |
no test coverage detected