Fix chunk index bug with structs

This commit is contained in:
Paul Hauner
2019-04-26 17:39:38 +10:00
parent d3309b9f7e
commit a425beb42a
4 changed files with 44 additions and 5 deletions

View File

@@ -102,6 +102,8 @@ pub fn subtree_derive(input: TokenStream) -> TokenStream {
// Iterate through the internal nodes, updating them if their children have changed.
cache.update_internal_nodes(&overlay)?;
cache.chunk_index = overlay.next_node();
Ok(())
}
}