I can't even describe my disappointment at interfaces

This commit is contained in:
vegowotenks 2024-09-11 00:02:48 +02:00
parent d7d159d115
commit 9190d3f7e7
4 changed files with 116 additions and 15 deletions

View file

@ -256,6 +256,7 @@ impl ObjectArea {
match self.get_entry(reference) {
CompartmentEntry::Object(o) => class_store.get_class_objectref_from_index(o.class_index),
CompartmentEntry::ReferenceArray(a) => a.class_ref,
CompartmentEntry::ByteArray(a) => a.class_ref,
_ => unreachable!(),
}
}