This commit is contained in:
nub31
2026-02-09 21:09:42 +01:00
parent ab9bd6fd05
commit ea3d374831
3 changed files with 75 additions and 69 deletions

View File

@@ -28,7 +28,7 @@ public sealed class Generator(List<TypedNodeDefinitionFunc> functions, ModuleGra
""");
foreach (var (i, structType) in moduleGraph.GetStructTypes().Index())
foreach (var (i, structType) in moduleGraph.GetModules().SelectMany(x => x.GetStructTypes().Index()))
structTypeNames[structType] = $"s{i}";
foreach (var typeName in structTypeNames)