mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Require unimplemented functions to be virtual.
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
abstract contract test {
|
||||
function f(bytes memory) internal;
|
||||
contract test {
|
||||
function f(bytes memory) internal {}
|
||||
}
|
||||
// ----
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
abstract contract test {
|
||||
function f(bytes storage) internal;
|
||||
contract test {
|
||||
function f(bytes storage) internal {}
|
||||
}
|
||||
// ----
|
||||
|
||||
Reference in New Issue
Block a user