Skip to content

Commit f37df53

Browse files
authored
Remove unused _is_known_via_attributes (#2240)
1 parent 2bd78da commit f37df53

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/KnownProperties.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,3 @@ ERROR: MethodError: no method matching is_known(::typeof(dim), ::AbstractAlgebra
4242
```
4343
"""
4444
function is_known end
45-
46-
# A generic implementation to look up attributes. This can be used to implement
47-
# `is_known` for a specific type of arguments of unary functions.
48-
function _is_known_via_attributes(f::Function, x::Any)
49-
@req is_attribute_storing(x) "objects of type $(typeof(x)) do not support attribute storage"
50-
return has_attribute(x, nameof(f))
51-
end
52-

0 commit comments

Comments
 (0)