mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #7618 from ethereum/addMoreAbstractKeywordsInTests
Add some more abstract keywords in test to make sure the correct property is tested.
This commit is contained in:
@@ -345,7 +345,8 @@ commandline compiler for linking):
|
||||
|
||||
::
|
||||
|
||||
pragma solidity >=0.5.0 <0.7.0;
|
||||
// This will not compile with 0.6.0 anymore.
|
||||
pragma solidity >=0.5.0 <0.5.99;
|
||||
|
||||
library OldLibrary {
|
||||
function someFunction(uint8 a) public returns(bool);
|
||||
|
||||
@@ -21,6 +21,11 @@ This section lists purely syntactic changes that do not affect the behavior of e
|
||||
|
||||
* Function ``push(value)`` for dynamic storage arrays do not return the new length anymore.
|
||||
|
||||
* The new keyword ``abstract`` can be used to mark contracts as abstract. It has to be used
|
||||
if a contract does not implement all its functions.
|
||||
|
||||
* Libraries have to implement all their functions, not only the internal ones.
|
||||
|
||||
* New reserved keywords: ``virtual``.
|
||||
|
||||
Semantic Only Changes
|
||||
|
||||
Reference in New Issue
Block a user