From b5a15ce4a5e0bb75c301bfa5f1fa79f83a38f4e6 Mon Sep 17 00:00:00 2001 From: ExpandingMan Date: Sat, 19 Oct 2019 13:51:40 -0400 Subject: [PATCH] fixed issue #47 --- src/lists.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lists.jl b/src/lists.jl index 193950e..ab141fa 100644 --- a/src/lists.jl +++ b/src/lists.jl @@ -254,7 +254,7 @@ function NullableList{J,K,P}(l::NullableList{J,K,P}) where {J,K,P} NullableList{J,K,P}(l.length, l.bitmask, l.offsets, l.values) end NullableList{J}(l::NullableList{J}) where J = NullableList{J}(l.length, l.bitmask, l.offsets, l.values) -NullableList{J}(l::NullableList{T}) where {J,T} = NullableList{J}(convert(AbstractVector{J}, p[:])) +NullableList{J}(l::NullableList{T}) where {J,T} = NullableList{J}(convert(AbstractVector{J}, l[:])) NullableList(l::NullableList{J}) where J = NullableList{J}(l) #====================================================================================================