solidity
solidity copied to clipboard
Do not add extcodesize check when `revertStrings` is set to debug
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.