The generated code yields this error on compilation:
TypeError: Types containing (nested) mappings can only be parameters or return variables of internal or library functions.
--> contracts-exposed/access/access_control/AccessControlStorage.sol:21:47:
|
21 | function $layout() external pure returns (AccessControlStorage.Layout memory) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error HH600: Compilation failed
This is of course due to fundamental limitations of storage types, and I don't intend to test the layout function. Would it be possible to simply skip functions that return storage types?
Given this contract:
The generated code yields this error on compilation:
This is of course due to fundamental limitations of
storage
types, and I don't intend to test thelayout
function. Would it be possible to simply skip functions that return storage types?