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 9fa5044 commit 12234d4Copy full SHA for 12234d4
src/ConstructionBase.jl
@@ -34,11 +34,8 @@ constructorof(::Type{<:NamedTuple{names}}) where names =
34
35
struct NamedTupleConstructor{names} end
36
37
-@generated function (::NamedTupleConstructor{names})(args...) where names
38
- quote
39
- Base.@_inline_meta
40
- $(NamedTuple{names, Tuple{args...}})(args)
41
- end
+@inline function (::NamedTupleConstructor{names})(args...) where names
+ NamedTuple{names}(args)
42
end
43
44
getproperties(o::NamedTuple) = o
0 commit comments