Add a generic lazy repeat that evaluates its content at each copy index

This commit is contained in:
Dennis Kobert
2026-08-16 11:28:11 +00:00
parent 15f4aa8f98
commit d32caeab52
3 changed files with 136 additions and 1 deletions

View File

@@ -1712,6 +1712,10 @@ pub(crate) fn generate_node_impl(crate_ident: &CrateIdent, parsed: &ParsedNodeFn
#plan
self.__layout = __resolved.layout;
})
} else if routing_generic.is_some() {
Some(quote! {
self.__layout = __resolved.layout;
})
} else {
None
};