Created
June 8, 2021 15:24
-
-
Save christianparpart/6429ee226a2ee058f8279c00f376cf7e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: UNLICENSED | |
pragma solidity >=0.8.0; | |
abstract contract A { | |
modifier m() virtual; | |
function f() A.m public {} | |
} | |
contract B is A { | |
modifier m() virtual override { _; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment