mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow user-defined types as mapping keys in parser and restrict to contracts during type checking.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user