Skip to content

Commit 7b2825b

Browse files
authored
non-diff count
1 parent 0e8e475 commit 7b2825b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rulesets/Base/nondiff.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@
9898
@non_differentiable codeunit(::SubString)
9999
@non_differentiable codeunits(::AbstractString)
100100
@non_differentiable copy(::Base.GenericIOBuffer)
101-
@non_differentiable count(::Union{Regex, AbstractString}, ::AbstractString)
101+
@non_differentiable count(::Any)
102+
@non_differentiable count(::Any, ::Any)
102103
@non_differentiable countlines(::AbstractString)
103104
@non_differentiable countlines(::IO)
104105
@non_differentiable cp(::AbstractString, ::AbstractString)

0 commit comments

Comments
 (0)