ligo/src/test/contracts/negative/nested_bigmap_2.religo

9 lines
267 B
Plaintext
Raw Normal View History

/* this should result in an error as nested big_maps are not supported: */
type storage = big_map (nat, big_map (int, string));
type return = (list (operation), storage);
2020-04-01 16:34:36 +02:00
let main = ((_, store): (unit, storage)): return => {
([]: list(operation), store)
};