I have this piece of code:
constructor() {
caller = msg.sender;
}
When I compile it, I am getting this error:
browser/vote.sol:17:3: SyntaxError: No visibility specified. Did you intend to add "public"?
constructor() { ^ (Relevant source part starts here and spans across multiple lines).
How to solve this?