Allow dynamic types in public mappings

This commit is contained in:
Mathias Baumann
2019-02-26 15:48:54 +01:00
parent da7139afc5
commit e4a52aa2f6
5 changed files with 185 additions and 19 deletions
@@ -2,4 +2,3 @@ contract c {
mapping(string => uint) public data;
}
// ----
// TypeError: (14-49): Dynamically-sized keys for public mappings are not supported.