Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for type(I).interfaceId #497

Merged
merged 1 commit into from
Jun 7, 2020
Merged

Add support for type(I).interfaceId #497

merged 1 commit into from
Jun 7, 2020

Conversation

montyly
Copy link
Member

@montyly montyly commented Jun 6, 2020

Fix #481

Ex:

interface I {
        function f() external;
        function g() external;
}

contract C{

        function f() public pure returns(bytes4){
                return type(I).interfaceId;
        }
}

@montyly montyly merged commit 2cb9e5a into dev Jun 7, 2020
@montyly montyly deleted the dev-interfaceId branch June 7, 2020 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant