Unify typesigs when implementing interface funs #960

Merged
ghallak merged 1 commits from ghallak/polymorphism-bugfix into master 2023-07-17 19:32:12 +09:00
ghallak commented 2023-07-06 22:35:09 +09:00 (Migrated from gitlab.com)

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
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 ```
zxq9 commented 2023-07-07 01:34:55 +09:00 (Migrated from gitlab.com)

Created by: radrow

Review: Approved

*Created by: radrow* **Review:** Approved
zxq9 commented 2023-07-07 02:33:44 +09:00 (Migrated from gitlab.com)

Created by: hanssv

Review: Approved

*Created by: hanssv* **Review:** Approved
zxq9 commented 2023-07-17 19:32:12 +09:00 (Migrated from gitlab.com)

Merged by: ghallak at 2023-07-17 10:32:12 UTC

*Merged by: ghallak at 2023-07-17 10:32:12 UTC*
Sign in to join this conversation.
No description provided.