solhint icon indicating copy to clipboard operation
solhint copied to clipboard

solidity >= 0.7.4 - free functions visibility

Open gitpusha opened this issue 4 years ago • 0 comments

Solidity greater than 0.7.4 allows you to have file-level function definitions.

Solidity forces you not to give them a visibility modifier because they are always pure by default.

solhint still complains about visibility modifier specification for such solidity function definition files.

gitpusha avatar Jan 06 '21 13:01 gitpusha