Skip to content

Commit 70cdff9

Browse files
Update class_ir.py
1 parent c22e6a4 commit 70cdff9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/ir/class_ir.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ def subclasses(self) -> set[ClassIR] | None:
347347
for child in self.children:
348348
if child.allow_interpreted_subclasses:
349349
return None
350-
if not (child.is_ext_class or child.is_final):
350+
if not (child.is_ext_class or child.is_final_class):
351351
return None
352352
if child.children:
353353
child_subs = child.subclasses()

0 commit comments

Comments
 (0)