Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Initialize PyRef marker in native base conversion
Fix the missing field in the new into_base initializer without changing its pointer or ownership transfer.

Assisted-by: OpenAI Codex: model identifier unavailable
  • Loading branch information
youknowdot committed Oct 13, 2026
commit 85f3ecdc2817cbd3b171fed9f374a30278847f09
5 changes: 4 additions & 1 deletion crates/vm/src/object/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2911,7 +2911,10 @@ where
// the object's class or MRO since this typed reference was constructed.
let ptr = self.ptr.cast();
core::mem::forget(self);
PyRef { ptr }
PyRef {
ptr,
marker: PhantomData,
}
}
#[inline]
#[must_use]
Expand Down
Loading