Skip to content

conj(::Any) should be deprecated #26248

@dlfivefifty

Description

@dlfivefifty

conj(::Any) should be deprecated, by the same logic as transpose(::Any):

julia> struct Foo end

julia> conj(Foo())
Foo()

julia> transpose(Foo())
ERROR: MethodError: no method matching transpose(::Foo)
Closest candidates are:
  transpose(::Missing) at missing.jl:75
  transpose(::Number) at number.jl:174
  transpose(::LinearAlgebra.Transpose) at /Users/solver/Projects/julia7-branch/usr/share/julia/site/v0.7/LinearAlgebra/src/adjtrans.jl:105

Metadata

Metadata

Assignees

Labels

deprecationThis change introduces or involves a deprecation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions