Fix tests
This commit is contained in:
parent
ad851854be
commit
2bafa3771e
@ -1264,10 +1264,7 @@ failing_contracts() ->
|
||||
[<<?Pos(2,9)
|
||||
"The name of the compile-time constant cannot have pattern matching">>,
|
||||
<<?Pos(3,9)
|
||||
"The name of the compile-time constant cannot have pattern matching">>,
|
||||
<<?Pos(4,20)
|
||||
"Cannot unify `string` and `bool`\n"
|
||||
"when checking the type of the expression `\"str\" : string` against the expected type `bool`">>
|
||||
"The name of the compile-time constant cannot have pattern matching">>
|
||||
])
|
||||
].
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
contract C =
|
||||
let x::_ = [1,2,3,4]
|
||||
let y::(p = z::_) = [1,2,3,4]
|
||||
let q : bool = "str"
|
||||
|
Loading…
x
Reference in New Issue
Block a user