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 a2fa36d commit 8448645Copy full SHA for 8448645
src/varinfo.jl
@@ -351,7 +351,7 @@ end
351
# TODO(mhauru) Note that this could still generate an empty metadata object if none
352
# of the lenses in `vns` are in `metadata`. Not sure if that's okay. Checking for
353
# emptiness would make this type unstable again.
354
- :(NamedTuple{($sym,)}(tuple(subset(metadata.$sym, vns))))
+ :((; $sym=subset(metadata.$sym, vns)))
355
else
356
:(NamedTuple{}())
357
end
0 commit comments