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 c482cec commit 73ddcbeCopy full SHA for 73ddcbe
mypyc/ir/rtypes.py
@@ -885,6 +885,10 @@ def accept(self, visitor: RTypeVisitor[T]) -> T:
885
def is_refcounted(self) -> bool:
886
return any(t.is_refcounted for t in self.class_ir.all_attributes().values())
887
888
+ @is_refcounted.setter
889
+ def is_refcounted(self, value: bool) -> None:
890
+ raise NotImplementedError("is_refcounted is read-only for RInstanceValue")
891
+
892
def __repr__(self) -> str:
893
return "<RInstanceValue %s>" % self.name
894
0 commit comments