Skip to content

Docstring of vect refers to undocumented promote_typeof #46092

@jishnub

Description

@jishnub

julia/base/array.jl

Lines 128 to 132 in 82c3a6f

"""
vect(X...)
Create a [`Vector`](@ref) with element type computed from the `promote_typeof` of the argument,
containing the argument list.

Since promote_typeof is neither documented, nor assigned a docstring, it's hard to understand what the eltype of vect should be, and if this may change in unpredictable ways.

julia> VERSION
v"1.9.0-DEV.998"

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsThis change adds or pertains to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions