These are chat archives for ethereum/tutorials

22nd
Jun 2018
ixhxpns
@ixhxpns
Jun 22 2018 10:07

-------------------version-------------------
Solidity version
Current version:0.4.24+commit.e67f0147.Emscripten.clang
---------------------warnning-------------------
browser/BNBFormat.sol:31:3: Warning: This declaration shadows a builtin symbol.
function assert( bool assertion)
^ (Relevant source part starts here and spans across multiple lines).

-------------------------code-----------------------
function assert( bool assertion) internal pure returns (uint256){
if (!assertion) {
revert();
}

}

WHY has this warnning? how can i clear that?

ixhxpns
@ixhxpns
Jun 22 2018 10:26
THX . I understand