ligo/src/test/contracts/negative/nested_bigmap_2.religo
2020-04-01 16:34:36 +02:00

9 lines
267 B
Plaintext

/* 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);
let main = ((_, store): (unit, storage)): return => {
([]: list(operation), store)
};