Another missing getindex
method for NamedTuple and StaticSymbol
#124
Labels
bug
Something isn't working
getindex
method for NamedTuple and StaticSymbol
#124
Describe the bug 🐞
Similar to #120, given the README, I expected to use StaticSymbols like symbols, but one more method is missing:
nt[(static(:a), static(:b))]
where nt is a NamedTuple.Expected behavior
should return
(a = 1, b = 2)
as with regular Symbols.Minimal Reproducible Example 👇
Without MRE, we would only be able to help you to a limited extent, and attention to the issue would be limited. to know more about MRE refer to wikipedia and stackoverflow.
Error & Stacktrace⚠️
Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
Additional context
Thanks for fixing that last one so quickly by the way!
The text was updated successfully, but these errors were encountered: