Remove the test that fails on toplevel consts
This commit is contained in:
parent
49f73f8201
commit
2dfe5eefb0
@ -658,10 +658,6 @@ failing_contracts() ->
|
|||||||
[<<?Pos(5, 28)
|
[<<?Pos(5, 28)
|
||||||
"Invalid call to contract entrypoint `Foo.foo`.\n"
|
"Invalid call to contract entrypoint `Foo.foo`.\n"
|
||||||
"It must be called as `c.foo` for some `c : Foo`.">>])
|
"It must be called as `c.foo` for some `c : Foo`.">>])
|
||||||
, ?TYPE_ERROR(toplevel_let,
|
|
||||||
[<<?Pos(2, 7)
|
|
||||||
"Toplevel \"let\" definitions are not supported. "
|
|
||||||
"Value `this_is_illegal` could be replaced by 0-argument function.">>])
|
|
||||||
, ?TYPE_ERROR(empty_typedecl,
|
, ?TYPE_ERROR(empty_typedecl,
|
||||||
[<<?Pos(2, 8)
|
[<<?Pos(2, 8)
|
||||||
"Empty type declarations are not supported. "
|
"Empty type declarations are not supported. "
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
contract C =
|
|
||||||
let this_is_illegal = 2/0
|
|
||||||
entrypoint this_is_legal() = 2/0
|
|
Loading…
x
Reference in New Issue
Block a user