Update the documentation and changelog to include polymorphism #887

Merged
ghallak merged 10 commits from ghallak/polymorphism-docs into master 2022-07-26 01:47:17 +09:00
Showing only changes of commit 66f56a0eb2 - Show all commits

View File

@ -148,10 +148,9 @@ contract interface Animal =
entrypoint sound() = "Cat sound"
```
Contract interfaces can extend other interfaces, the extended interface has to
declare all the entrypoints from the parent interface, and it can have
additional entrypoints added to it. All the declarations in the extended
interface must match (have the same type) with the declarations from the parent
Contract interfaces can extend other interfaces. An extended interface has to
declare all entrypoints from every parent interface. All the declarations in the extended
interface must have the same type as the declarations from the parent
interface.
```