Skip to content

Commit

Permalink
fix: ambiguity in TemplateExpression
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Dec 11, 2024
1 parent fdefd9a commit e59002b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/TemplateExpression.jl
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,10 @@ end
end
end
)
@unstable IDE.expected_array_type(::AbstractMatrix, ::Type{<:TemplateExpression}) = Any
@unstable begin
IDE.expected_array_type(::AbstractArray, ::Type{<:TemplateExpression}) = Any
IDE.expected_array_type(::Matrix{T}, ::Type{<:TemplateExpression}) = Any
end

function DA.violates_dimensional_constraints(
@nospecialize(tree::TemplateExpression),
Expand Down

0 comments on commit e59002b

Please sign in to comment.