Home /Modules/impl/README.md

README.md

impl/backup/java-converter-2026-11-13/README.md · 20 line(s) · markdown

Backup: parser.cpp before the bodiless-method default-value fix (2026-11-13)

frontend/parser.cpp is the original from BASE-COMMIT.txt, taken before the change that gives a bodiless (abstract or interface) method returning a signed or unsigned series integer (int32, uint64, int128, U256, ...) a synthesized return 0; instead of return null;. The change was needed by the Java converter (lib/java/converter), which spells Java int as int32.

Restore: cp impl/backup/java-converter-2026-11-13/frontend/parser.cpp impl/frontend/parser.cpp, then regenerate security/sha256-manifest.json and rebuild. Verify the copy: cd impl/backup/java-converter-2026-11-13 && sha256sum -c SHA256SUMS.

Second change (same topic): frontend/compiler.cpp

frontend/compiler.cpp is the original from the second line of BASE-COMMIT.txt, taken before arrayFillKind learned the 64-bit-backed series integers: new int32[n] (and int64-backed uint32, uint64, U<width>) now start at 0, like new int[n], instead of null. The converter writes Java int[] as int32[]. Restore: cp impl/backup/java-converter-2026-11-13/frontend/compiler.cpp impl/frontend/compiler.cpp.