Heap super

This commit is contained in:
2026-06-07 00:40:22 +02:00
parent 982b0bf4a5
commit fafc03d5d8
+2 -2
View File
@@ -28,9 +28,9 @@ pub fn class_decl(
cg.add_indentedln("pub _m_oop: (*const *const std::ffi::c_void, *mut std::ffi::c_void),"); cg.add_indentedln("pub _m_oop: (*const *const std::ffi::c_void, *mut std::ffi::c_void),");
if let Some(inherits) = inherits { if let Some(inherits) = inherits {
cg.add_indented("pub _super: "); cg.add_indented("pub _super: Box<");
cg.add(&inherits.get_rust()); cg.add(&inherits.get_rust());
cg.addln(","); cg.addln(">,");
} }
for field in fields.clone() { for field in fields.clone() {