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

Unify typesigs when implementing interface funs #469

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

ghallak
Copy link
Contributor

@ghallak ghallak commented Jul 6, 2023

This PR should prevent this code from compiling

include "Frac.aes"

contract interface Interface =
 entrypoint example: (Frac.frac) => Frac.frac

main contract Example: Interface =
  entrypoint example(x : int): int = x

@ghallak ghallak requested review from radrow and hanssv July 6, 2023 13:35
@ghallak ghallak merged commit 86d7b36 into master Jul 17, 2023
@ghallak ghallak deleted the ghallak/polymorphism-bugfix branch July 17, 2023 10:32
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.

3 participants