Use named arguments in mapping types (#4433)

Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
Ernesto García
2023-08-08 19:48:56 -06:00
committed by GitHub
parent 48b860124c
commit cb0ffefe2f
29 changed files with 48 additions and 60 deletions

View File

@ -23,7 +23,7 @@ contract SupportsInterfaceWithLookupMock is IERC165 {
/**
* @dev A mapping of interface id to whether or not it's supported.
*/
mapping(bytes4 => bool) private _supportedInterfaces;
mapping(bytes4 interfaceId => bool) private _supportedInterfaces;
/**
* @dev A contract implementing SupportsInterfaceWithLookup