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

11 lines
279 B
Plaintext

type bar = big_map (nat, int);
/* this should result in an error as nested big_maps are not supported: */
type storage = big_map (int, bar);
type return = (list (operation), storage);
let main = ((_, store): (unit, storage)): return => {
([]: list(operation), store)
};