solidity/test/libsolidity/syntaxTests/functionCalls/mapping_not_callable.sol

7 lines
136 B
Solidity

contract C {
mapping (uint => uint) m;
uint a = m(1000);
}
// ----
// TypeError 5704: (56-63): This expression is not callable.