ligo/src/test/contracts/expected/variant.religo.expected

8 lines
137 B
Plaintext
Raw Normal View History

2020-06-03 12:41:26 +02:00
type foobar = Foo(int) | Bar(bool) | Kee(nat);
let foo: foobar = Foo (42);
let bar: foobar = Bar (true);
let kee: foobar = Kee (23n);