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 6ba1c4a commit 2ae7a62Copy full SHA for 2ae7a62
src/all_implementations.jl
@@ -2093,11 +2093,16 @@ slot(
2093
layout::Record{FIELDS,CONTENTS},
2094
f::Symbol,
2095
) where {FIELDS,CONTENTS<:Base.Tuple{Vararg{Content}}}
2096
+
2097
+ Base.getindex(
2098
+ layout::AwkwardArray.Record,
2099
+ f::Symbol,
2100
+ ) = getfield(layout, :array).contents[f][getfield(layout, :at)]
2101
"""
2102
Base.getindex(
- layout::Record{FIELDS,CONTENTS},
- f::Symbol,
-) where {FIELDS,CONTENTS<:Base.Tuple{Vararg{Content}}} = layout.array.contents[f][layout.at]
2103
2104
2105
2106
2107
2108
Base.:(==)(
0 commit comments