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

Introduce a mechanism for specifying external contract interfaces. #177

Open
pirapira opened this issue Aug 3, 2017 · 1 comment · May be fixed by #192
Open

Introduce a mechanism for specifying external contract interfaces. #177

pirapira opened this issue Aug 3, 2017 · 1 comment · May be fixed by #192
Assignees
Milestone

Comments

@pirapira
Copy link
Owner

pirapira commented Aug 3, 2017

Maybe something like

interface I {
    case (f(uint,address));
    case (g());
}

Bamboo will not have inheritance though.

Interfaces do not have arguments because interfaces are not deployable.

@pirapira
Copy link
Owner Author

pirapira commented Aug 3, 2017

When the source code contains this, one should be able to write

case (h(I i)) {
    i.f(3, this);
}

@pirapira pirapira added this to the v0.0.02 milestone Aug 3, 2017
@pirapira pirapira linked a pull request Aug 11, 2017 that will close this issue
@pirapira pirapira self-assigned this Aug 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant