Skip to content

Commit

Permalink
Fix free type variables (#80)
Browse files Browse the repository at this point in the history
* Fix free type variables. Update xpath.jl
  • Loading branch information
musm authored and amitmurthy committed Jul 17, 2017
1 parent cafbfd0 commit 2fd1837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpath.jl
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ function xpath_translate(a::AbstractString,b::AbstractString,c::AbstractString)
String(take!(tr))
end

function xpath_expr{T<:AbstractString}(pd, xp::XPath{T}, filter::Tuple{Symbol,ANY}, position::Int, last::Int, output_hint::DataType)
function xpath_expr{T<:AbstractString}(pd, xp::XPath{T}, filter::Tuple{Symbol,Any}, position::Int, last::Int, output_hint::DataType)
op = filter[1]::Symbol
args = filter[2]
if op == :attribute
Expand Down

0 comments on commit 2fd1837

Please sign in to comment.