Skip to content

zero on uninitialized arrays now fail in some cases #53582

Closed
@KristofferC

Description

@KristofferC

From https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/0520b80_vs_997b49f/Unitful.primary.log.

Expression: zero(Vector{Union{Quantity{Float64, 𝐋}, Missing}}(undef, 1)) == [0.0m]
  UndefRefError: access to undefined reference

Looking a bit at the blame I think this was introduced in #51458.

cc @oxinabox

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressionRegression in behavior compared to a previous version

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions