ligo/src/test/contracts/expected/empty_case.ligo.expected

8 lines
114 B
Plaintext
Raw Normal View History

2020-06-08 15:00:44 +02:00
type t is Bar of int | Baz
function main (const x : t) : int is
case x of [
Bar (n) -> n
| Baz -> -1
]