From f11399b031b1d7a28eef72e6e4757c5b7c53bc54 Mon Sep 17 00:00:00 2001 From: Lukas Devos Date: Tue, 18 Feb 2025 14:00:05 -0500 Subject: [PATCH] mention infinite recursion --- src/arrayinterface.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/arrayinterface.jl b/src/arrayinterface.jl index b234e81..fb53b8e 100644 --- a/src/arrayinterface.jl +++ b/src/arrayinterface.jl @@ -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