Skip to content

Commit cdbc445

Browse files
committed
Disable setBackref assertion, we know it fails
We already know it can fail and we have an issue to fix it. Having a wrong backref is mostly benign, so it's not worth the transients.
1 parent dea989d commit cdbc445

File tree

1 file changed

+4
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/frame

1 file changed

+4
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/frame/PFrame.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,10 @@ public PFrame.Reference getBackref() {
225225
}
226226

227227
public void setBackref(PFrame.Reference backref) {
228-
assert this.backref == null || this.backref == backref : "setBackref tried to set a backref different to the one that was previously attached";
228+
// GR-41914
229+
// @formatter:off
230+
// assert this.backref == null || this.backref == backref : "setBackref tried to set a backref different to the one that was previously attached";
231+
// @formatter:on
229232
this.backref = backref;
230233
}
231234

0 commit comments

Comments
 (0)