scilla_version 0
library Dead13
(* False negative: used ADT, but unused constructor *)
type C =
| C
let a1 = A1
let opt =
tfun 'A => fun( default: 'A ) =>
fun( input: Option 'A) =>
match input with
| Some v => v
| None => default end
let opt_c = @opt C
contract Dead13()
transition foo()
end
MRE: