Update tests for entrypoints

This commit is contained in:
Ulf Norell
2019-06-27 14:16:33 +02:00
parent 85408a12a2
commit 6a59e455ce
51 changed files with 465 additions and 446 deletions
+2 -2
View File
@@ -8,11 +8,11 @@ namespace Foo =
contract Bug =
// Crashed the type checker
function foo() = Foo.bar()
entrypoint foo() = Foo.bar()
// Also crashed the type checker
type t = Foo.bla
function test() =
entrypoint test() =
let x : t = Foo.bar()
x