solidity
solidity copied to clipboard
eof: Enable `eofcreate` inline assembly
This PR contains:
- Add
objectNamesuffix of a contract name in inline assembly which maps to object name in yul. - Enable
eofcreatein inline assembly to make eof style of contract creation possible. - Add and update semantic and syntaxt tests.
TODOs:
- How to make
objectNameunavailable for the contract name inside which we are using this suffix. - ~~Should it work for libraries?~~ Edit: It looks that it can. Test added.
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.