Skip to content

!isimmutable("abc") && !isimmutable(:abc) #30210

@StefanKarpinski

Description

@StefanKarpinski

Since #22193 and #22954 Strings are supposed to be immutable, yet:

julia> isimmutable("abc")
false

Similarly, Symbols have been immutable and ===-comparable for ever and yet:

julia> isimmutable(:abc)
false

Pointed out by @fingofin on discourse. Also potentially of interest:

julia> isstructtype(String)
true

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