Skip to content

[TODO] set inconsistencies #7556

@timotheecour

Description

@timotheecour
  • ['a', 'b'].toSet returns a HashSet[char], not a set[char]
  • ['a', 'b'].toHashSet is not defined
  • card is defined for both set and HashSet, but len is defined for HashSet only, not set
  • echo({'a', 'b', 'c', 'b'}.card) : 4 (that one is already reported here: set bug: echo({'a', 'b', 'c', 'b'}.card) : 4 #7555)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions