diff options
author | chriseth <chris@ethereum.org> | 2018-08-08 20:59:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-08 20:59:09 +0800 |
commit | de8e9114fdba97ffa9e649f044066aec45ff4812 (patch) | |
tree | d115ad4a75798152068330d263ebbdf58805b3cc /Changelog.md | |
parent | fbc844317446adcc0c0e4772d5c20befdc9d2770 (diff) | |
parent | 99d3e8e45a7db18dedef5d1dde3cabd1e539efb2 (diff) | |
download | dexon-solidity-de8e9114fdba97ffa9e649f044066aec45ff4812.tar.gz dexon-solidity-de8e9114fdba97ffa9e649f044066aec45ff4812.tar.zst dexon-solidity-de8e9114fdba97ffa9e649f044066aec45ff4812.zip |
Merge pull request #4740 from ethereum/enforceNumberOfReturnValues
Disallow empty return in function with return arguments.
Diffstat (limited to 'Changelog.md')
-rw-r--r-- | Changelog.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Changelog.md b/Changelog.md index 539d8c61..fc143568 100644 --- a/Changelog.md +++ b/Changelog.md @@ -46,6 +46,7 @@ Breaking Changes: * Type Checker: Disallow calling base constructors without parentheses. This was already the case in the experimental 0.5.0 mode. * Type Checker: Disallow conversions between ``bytesX`` and ``uintY`` of different size. * Type Checker: Disallow conversions between unrelated contract types. Explicit conversion via ``address`` can still achieve it. + * Type Checker: Disallow empty return statements for functions with one or more return values. * Type Checker: Disallow empty tuple components. This was partly already the case in the experimental 0.5.0 mode. * Type Checker: Disallow multi-variable declarations with mismatching number of values. This was already the case in the experimental 0.5.0 mode. * Type Checker: Disallow specifying base constructor arguments multiple times in the same inheritance hierarchy. This was already the case in the experimental 0.5.0 mode. |