Allow user-defined types as mapping keys in parser and restrict to contracts during type checking.

This commit is contained in:
Daniel Kirchner
2020-02-04 17:22:03 +01:00
parent 7a194ffdab
commit d3cbfb0c5c
25 changed files with 808 additions and 18 deletions
@@ -4,4 +4,4 @@ contract test {
}
}
// ----
// ParserError: (44-47): Expected elementary type name for mapping key type
// ParserError: (44-47): Expected elementary type name or identifier for mapping key type