Skip to content

Commit 16d30cc

Browse files
make haskey less specific
1 parent 85a3747 commit 16d30cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dataset.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function Base.setindex!(ds::AbstractDataset,data::AbstractVariable,varname::Symb
169169
end
170170

171171

172-
function Base.haskey(ds::AbstractDataset,varname::SymbolOrString)
172+
function Base.haskey(ds::AbstractDataset,varname)
173173
return Symbol(varname) in Symbol.(keys(ds))
174174
end
175175

0 commit comments

Comments
 (0)