title: Return internal value in Solidity
body: <p>I am trying to compile a contract and get a value from the contract by call.
  I used <a href="https://remix.ethereum.org/" rel="nofollow noreferrer">https://remix.ethereum.org/</a></p>
  
  <p>Code available in <a href="https://gist.github.com/pavoltravnik/a6400a2964e6ed3068f7e695699d0035" rel="nofollow noreferrer">gist</a>.</p>
  
  <p>The issue is, that after compilation with the latest version of Solidity compiler 0.6.1. it doesn't return decoded output. It works fine in version 5.1.6.</p>
  
  <p>Contract on the top is built by 0.6.1.
  Below is built by 5.1.6.</p>
  
  <p>Calls behave like transacts.</p>
  
  <p>Any mention in breaking changes and docs.</p>
  
  <p><a href="https://i.stack.imgur.com/Cc72x.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cc72x.png" alt="remix calls"></a></p>