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.
2 parents c105ea1 + 71ba490 commit 0562467Copy full SHA for 0562467
src/mutable_list.jl
@@ -68,7 +68,7 @@ end
68
69
function Base.map(f::Base.Callable, l::MutableLinkedList{T}) where T
70
if isempty(l) && f isa Function
71
- S = Core.Compiler.return_type(f, (T,))
+ S = Core.Compiler.return_type(f, Tuple{T})
72
return MutableLinkedList{S}()
73
elseif isempty(l) && f isa Type
74
return MutableLinkedList{f}()
0 commit comments