ligo/src/test/contracts/negative/error_function_annotation_3.mligo

10 lines
152 B
Plaintext
Raw Normal View History

2020-03-03 17:45:59 +01:00
type op =
| Add of int
| Sub of int
let main (p,s : int * op) : (operation list) * op =
match s with
| Add si -> Add si
| Sub si -> Sub si