fix: preserve plain reference rebinding during read-only calls
This commit is contained in:
@@ -28,6 +28,9 @@ impl EndorStringObject {
|
||||
}
|
||||
|
||||
impl ObjectPayload for EndorStringObject {
|
||||
fn reference_assignment_only(&self) -> bool {
|
||||
true
|
||||
}
|
||||
fn as_any(&self) -> &dyn Any {
|
||||
self
|
||||
}
|
||||
@@ -87,6 +90,9 @@ impl EndorDictObject {
|
||||
}
|
||||
|
||||
impl ObjectPayload for EndorDictObject {
|
||||
fn reference_assignment_only(&self) -> bool {
|
||||
true
|
||||
}
|
||||
fn as_any(&self) -> &dyn Any {
|
||||
self
|
||||
}
|
||||
@@ -126,6 +132,9 @@ impl EndorCellObject {
|
||||
}
|
||||
|
||||
impl ObjectPayload for EndorCellObject {
|
||||
fn reference_assignment_only(&self) -> bool {
|
||||
true
|
||||
}
|
||||
fn as_any(&self) -> &dyn Any {
|
||||
self
|
||||
}
|
||||
@@ -199,6 +208,9 @@ impl EndorFunctionObject {
|
||||
}
|
||||
|
||||
impl ObjectPayload for EndorFunctionObject {
|
||||
fn reference_assignment_only(&self) -> bool {
|
||||
true
|
||||
}
|
||||
fn as_any(&self) -> &dyn Any {
|
||||
self
|
||||
}
|
||||
@@ -302,6 +314,9 @@ impl EndorBaseExceptionObject {
|
||||
}
|
||||
|
||||
impl ObjectPayload for EndorBaseExceptionObject {
|
||||
fn reference_assignment_only(&self) -> bool {
|
||||
true
|
||||
}
|
||||
fn as_any(&self) -> &dyn Any {
|
||||
self
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user