Skip to content

Commit a116ab1

Browse files
fix: deserialization discrepancy
1 parent 2949df3 commit a116ab1

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
@@ -422,6 +422,7 @@ def deserialize(cls, data: JsonDict, ctx: DeserMaps) -> ClassIR:
422422
ir.is_final_class = data["is_final_class"]
423423
ir.inherits_python = data["inherits_python"]
424424
ir.has_dict = data["has_dict"]
425+
ir.supports_weakref = data["supports_weakref"]
425426
ir.allow_interpreted_subclasses = data["allow_interpreted_subclasses"]
426427
ir.needs_getseters = data["needs_getseters"]
427428
ir._serializable = data["_serializable"]

0 commit comments

Comments
 (0)