We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f84f576 commit 376356bCopy full SHA for 376356b
mypyc/ir/class_ir.py
@@ -345,6 +345,10 @@ def subclasses(self) -> set[ClassIR] | None:
345
return None
346
result = set(self.children)
347
for child in self.children:
348
+ if child.allow_interpreted_subclasses:
349
+ return None
350
+ if not (child.is_ext_class or child.is_final):
351
352
if child.children:
353
child_subs = child.subclasses()
354
if child_subs is None:
0 commit comments