Skip to content

Commit 2695012

Browse files
committed
fix propertynames ambiguity
1 parent 47800b8 commit 2695012

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/names.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ end
6363
# getproperty: it's useful to say for `(i,t) in enumerate(A.time)` etc.
6464
# This will make saying ".data" slow (by 30ns), fixed in NamedDims.jl#78
6565

66-
Base.propertynames(A::NdaKa{L}, private=false) where {L} =
66+
Base.propertynames(A::NdaKa{L}, private::Bool=false) where {L} =
6767
private ? (L..., fieldnames(typeof(A))...) : L
68-
Base.propertynames(A::KaNda{L}, private=false) where {L} =
68+
Base.propertynames(A::KaNda{L}, private::Bool=false) where {L} =
6969
private ? (L..., fieldnames(typeof(A))...) : L
7070

7171
Base.getproperty(A::NdaKa{L}, s::Symbol) where {L} =

0 commit comments

Comments
 (0)