feat: deterministic file discovery and compilation unit ordering #8
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/deterministic-file-discovery"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resolves #2
Summary
Ensures deterministic ordering of files, compilation units, and packages during compiler ingestion:
WurstCompilerJassImpl(loadWurstFilesInDir,addDependenciesFromFolder,addLibDir).ModelManagerImplandImportFile.WurstCompilerJassImpl.mergeCompilationUnits.AttrImportedPackage.getPackages.compilationUnitAndPackageOrderingIsDeterministicinCompilationUnitTeststo verify order invariance across file input permutations.Testing
tests.wurstscript.tests.CompilationUnitTests.compilationUnitAndPackageOrderingIsDeterministicpassed.tests.wurstscript.tests.DeterministicCheckspassed.tests.wurstscript.tests.LuaTranslationTests.luaOutputIsDeterministicForGenericOverrideSlotspassed.