Skip to content

dhall.dump(s) is able to generate mal-typed Dhall #1

@s-zeng

Description

@s-zeng

Description

When passing mix-typed lists to dhall.dump(s), the resulting dhall that is outputted is not well-typed and cannot be read back with dhall.loads

Expected behaviour

python-dhall should error when receiving mal-typed inputs. For all inputs x, dhall.loads(dhall.dumps(x)) should either error on dumps, or be identitcal to the identity function on x, or else have some other way to translate heterogeneous lists and other dynamic data

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions