mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow dynamic types in public mappings
This commit is contained in:
@@ -2,4 +2,3 @@ contract c {
|
||||
mapping(string => uint) public data;
|
||||
}
|
||||
// ----
|
||||
// TypeError: (14-49): Dynamically-sized keys for public mappings are not supported.
|
||||
|
||||
Reference in New Issue
Block a user