ligo/src/test/contracts/annotation.ligo
Christian Rinderknecht d123abd46f Added new error for duplicated record fields.
Removed interface for the AST (for maintenance sake).
2020-01-09 14:26:47 +01:00

7 lines
187 B
Plaintext

(* Test that a string is cast to an address given a type annotation *)
const lst : list(int) = list []
const my_address : address =
("tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx" : address)