Skip to content

Commit

Permalink
mention infinite recursion
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Feb 18, 2025
1 parent 79f9a82 commit f11399b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/arrayinterface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ array, but hasn't defined a specialized interface. In the absence of overrides f
struct DefaultArrayInterface{N} <: AbstractArrayInterface{N} end

# avoid emitting warnings in fallback `call` definition
# TODO: this does not work and leads to infinite recursion
call(::DefaultArrayInterface, f, args...; kwargs...) = f(args...; kwargs...)

using TypeParameterAccessors: parenttype
Expand Down

0 comments on commit f11399b

Please sign in to comment.