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

11 lines
279 B
Plaintext
Raw Normal View History

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);
2020-04-01 16:34:36 +02:00
let main = ((_, store): (unit, storage)): return => {
([]: list(operation), store)
};