Nice type error if contract function is called as from a namespace

This commit is contained in:
Ulf Norell
2019-10-01 13:40:01 +02:00
parent 2d6d506d63
commit 5e6ff6c9a7
3 changed files with 30 additions and 10 deletions
+6
View File
@@ -0,0 +1,6 @@
contract Foo =
entrypoint foo : () => int
contract Fail =
entrypoint bad() : int = Foo.foo()