Fail on function definitions in contracts other than the main contract

This commit is contained in:
Ulf Norell
2019-10-01 13:13:27 +02:00
parent 482d22d46b
commit 2d6d506d63
3 changed files with 39 additions and 12 deletions
+5
View File
@@ -0,0 +1,5 @@
contract ContractOne =
entrypoint foo() = "foo"
contract ContractTwo =
entrypoint bar() = "bar"