Skip to content

fix(compiler): compile overloads when short backend names are occupied - #98

Merged
LucienSong merged 1 commit into
mainfrom
codex/overload-alias-space-20261012
Oct 12, 2026
Merged

LucienSong merged 1 commit into
mainfrom
codex/overload-alias-space-20261012

Conversation

@LucienSong

Copy link
Copy Markdown
Collaborator

Valid Solidity contracts with address/integer overloads failed PQABI compilation when declarations occupied all short backend names. Allocate collision-free longer names while retaining original type resolution, ABI selectors, event/error signatures, and references inside native-call rewrites. Include a documented regression entry for crowded public, inherited, internal, free-function and array overloads.

Validation: npm run typecheck, npm test (including build; 239 passed), and the isolated crowded-overload VM regression against shell-chain source e94038717a1522080ecf701edacbde21cf37b870. The VM checks full-word results, original selectors, malformed/unknown calls, overflow/empty-array panics, full-word revert/require data and rollback. Source acceptance does not imply package publication or native network activation.

@LucienSong
LucienSong merged commit f0764cb into main Oct 12, 2026
3 checks passed
@LucienSong
LucienSong deleted the codex/overload-alias-space-20261012 branch October 12, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant