diff --git a/base/generator.jl b/base/generator.jl index b0f7e32d0b22f6..aaa734bf6f65c9 100644 --- a/base/generator.jl +++ b/base/generator.jl @@ -51,6 +51,7 @@ length(g::Generator) = length(g.iter) size(g::Generator) = size(g.iter) axes(g::Generator) = axes(g.iter) ndims(g::Generator) = ndims(g.iter) +keys(g::Generator) = keys(g.iter) ## iterator traits