diff --git a/nac3core/src/codegen/object/list.rs b/nac3core/src/codegen/object/list.rs index 41bdda21..86edcbf8 100644 --- a/nac3core/src/codegen/object/list.rs +++ b/nac3core/src/codegen/object/list.rs @@ -25,7 +25,7 @@ impl<'ctx, Item: Model<'ctx>> StructKind<'ctx> for List { fn traverse_fields>(&self, traversal: &mut F) -> Self::Fields { Self::Fields { - items: traversal.add("data", Ptr(self.item)), + items: traversal.add("items", Ptr(self.item)), len: traversal.add_auto("len"), } }