I encountered this problem when I designed a test contract and initialized the mapping therein as provided below.
pragma solidity ^0.4.10;
contract test{
mapping (uint256 => string) uintTostring;
uintTostring[uint256(1)]="1";
}
The compiler says there is parse error about this command " uintTostring[1]='1'
"
Where do I make wrong and how I can solve this problem?