Skip to content

Commit bee44dc

Browse files
Update class_ir.py
1 parent f514765 commit bee44dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mypyc/ir/class_ir.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ def fullname(self) -> str:
239239

240240
@property
241241
def allow_interpreted_subclasses(self) -> bool:
242+
return self._allow_interpreted_subclasses or not self.is_ext_class and not self.is_final_class
242243

243244
@allow_interpreted_subclasses.setter
244245
def _(self, value: bool) -> None:

0 commit comments

Comments
 (0)