Skip to content

Format doesn't work with literal uuids in a set #511

@madstap

Description

@madstap

When formatting, joker seems to think that different literal uuids are the same value in the context of a set literal.

Repro:

file: foo.clj

(def xs #{#uuid "e00034c0-e937-4abb-aea4-80760bc338e8" #uuid "a6e0b352-3909-40a0-becc-6f9f9515b46e"})
$ joker --format foo.clj
foo.clj:1:60: Read error: Duplicate set element uuid

This does not seem to be the case for map literals, only set literals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions