Skip to content

use named parameters in mapping types #145

Open
@iavl

Description

@iavl

solidity 0.8.18 introduced named parameters in mapping types. I would make sense to implement this new feature to increase the code readability.

here is an example:

mapping(uint256 characterId => mapping(address operator => uint256 permissionsBitMap)) internal _operatorsPermissionBitMap; // slot 25

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions