Closed Mazesch closed 5 years ago
The following code should already be formatted correctly(atleast the multiline function-call) according to the Solidity Style Guide but the auto-indent messes it up:
pragma solidity ^0.5.4; contract Contract { function f(address _addr) public view returns (bytes memory o_code) { assembly { let size := extcodesize(_addr) o_code := mload(0x40) extcodecopy( _addr, add(o_code, 0x20), 0, size ) } } }
The following code should already be formatted correctly(atleast the multiline function-call) according to the Solidity Style Guide but the auto-indent messes it up: