solidity
solidity copied to clipboard
Fix `string.concat` and `bytes.concat` assignment to a constant variable.
This PR fixes assignment to a constant variable of a result of string or bytes concatenation, if their arguments are values known in the compile-time. Closes: https://github.com/argotorg/solidity/issues/16188
Additionally
- Add unit tests
- Update the Changelog.md
- Update existing unit tests:
- Modify tests, which trigger "no-effect" expression warning to silence the warning.
- Update error message, because now they fail in different (but very similar) way.