pragma solidity ^0.5.3;
contract Inbox {
string public message;
function Inbox(string initialMessage) public {
message = initialMessage;
}
function setMessage(string newMessage) public {
message = newMessage;
}
function getMessage() public view returns (string) {
return getMessage;
}
}
Error : browser/Untitled.sol:3:1: ParserError: Source file requires different compiler version (current compiler is 0.5.3-nightly.2019.1.15+commit.6146c59a.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version contract Inbox {
I'm using the correct version. I've tried debugging and look on forums, but I cannot find the right solution. Any other experiencing same problem?