solidity icon indicating copy to clipboard operation
solidity copied to clipboard

eof: Enable `eofcreate` inline assembly

Open rodiazet opened this issue 8 months ago • 1 comments

This PR contains:

  • Add objectName suffix of a contract name in inline assembly which maps to object name in yul.
  • Enable eofcreate in inline assembly to make eof style of contract creation possible.
  • Add and update semantic and syntaxt tests.

TODOs:

  1. How to make objectName unavailable for the contract name inside which we are using this suffix.
  2. ~~Should it work for libraries?~~ Edit: It looks that it can. Test added.

rodiazet avatar Apr 04 '25 12:04 rodiazet

Thank you for your contribution to the Solidity compiler! A team member will follow up shortly.

If you haven't read our contributing guidelines and our review checklist before, please do it now, this makes the reviewing process and accepting your contribution smoother.

If you have any questions or need our help, feel free to post them in the PR or talk to us directly on the #solidity-dev channel on Matrix.

github-actions[bot] avatar Apr 04 '25 12:04 github-actions[bot]