sophia/test/contracts/code_errors/polymorphic_map_keys.aes
2019-09-03 14:35:13 +02:00

7 lines
120 B
Plaintext

contract MapAsMapKey =
type t('key) = map('key, int)
function foo(m) : t('a) = {[m] = 0}
entrypoint main() = ()