Skip to content

Commit

Permalink
Merge pull request #17 from nalimilan/nl/eltype
Browse files Browse the repository at this point in the history
Stop lying about WeakRefStringArray eltype
  • Loading branch information
quinnj authored Dec 19, 2017
2 parents bcd2f0f + 8b02e7a commit 69d5ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WeakRefStrings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Base.convert(::Type{String}, x::WeakRefString) = convert(String, string(x))
Base.String(x::WeakRefString) = string(x)
Base.Symbol(x::WeakRefString{UInt8}) = ccall(:jl_symbol_n, Ref{Symbol}, (Ptr{UInt8}, Int), x.ptr, x.len)

struct WeakRefStringArray{T, N} <: AbstractArray{T, N}
struct WeakRefStringArray{T, N} <: AbstractArray{Union{String, Missing}, N}
data::Vector{Any}
elements::Array{T, N}
end
Expand Down

0 comments on commit 69d5ff8

Please sign in to comment.