Skip to content

fieldnames broken for tuples #14858

@SimonDanisch

Description

@SimonDanisch

t = Tuple{Float32,Float32}
nfields(t) == 2, although tuples don't have fields.
So fieldnames(t) results in a BoundsError.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behavior

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions