Instant unification error on arguments count mismatch (#225)

* Instant unification error on arguments count mismatch

* add testcase

* Add newline
This commit is contained in:
Radosław Rowicki
2020-02-21 10:28:55 +01:00
committed by GitHub
parent 2bf65cfd98
commit bd7ed2ef8c
3 changed files with 30 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
contract Test =
entrypoint f() = ()
entrypoint g(x : int, y : string) = f(1)
entrypoint h() = g(1)
entrypoint i() = g("Litwo, ojczyzno moja")