solidity icon indicating copy to clipboard operation
solidity copied to clipboard

Do not add extcodesize check when `revertStrings` is set to debug

Open shermike opened this issue 6 months ago • 1 comments

If revertStrings option is set to debug or higher, then the compiler always adds the extcodesize check even if the function has a return value.

I believe it's a bug because it's unnatural for the compiler to change its logic just because a debug option is provided.

shermike avatar May 26 '25 19:05 shermike