We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 234d704 commit 1193cdeCopy full SHA for 1193cde
src/base.jl
@@ -39,10 +39,10 @@ GeoInterface.properties(nt::NamedTuple) = _is_namedtuple_feature(nt) ? _nt_prope
39
40
# Use Val to force constant propagation through `reduce`
41
function _nt_properties(nt::NamedTuple{K}) where K
42
- valkeys = reduce(K; init=()) do acc, k
+ keys = reduce(K; init=()) do acc, k
43
k == :geometry ? acc : (acc..., k)
44
end
45
- return NamedTuple{valkeys}(nt)
+ return NamedTuple{keys}(nt)
46
47
48
const MaybeArrayFeatureCollection = AbstractArray{<:NamedTuple}
0 commit comments