The function caller()
below does not return any value
pragma solidity ^0.4.18;
contract M2M{
function setvalues(uint a ,uint b) returns (uint){
return a;
}
function caller() public returns (uint) {
return setvalues({b:90,a:45});
}
}
caller
doesn't haveview
norpure
modifiers remix assumes they are part of a transaction. You should add one of those modifiers. – Ismael Nov 25 '17 at 4:38