Skip to content

Commit

Permalink
add @nospecialize annotations for Returns (#44853)
Browse files Browse the repository at this point in the history
  • Loading branch information
chriselrod authored Apr 5, 2022
1 parent 7a61fc0 commit e9150a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ struct Returns{V} <: Function
Returns(value) = new{Core.Typeof(value)}(value)
end

(obj::Returns)(args...; kw...) = obj.value
(obj::Returns)(@nospecialize(args...); @nospecialize(kw...)) = obj.value
function show(io::IO, obj::Returns)
show(io, typeof(obj))
print(io, "(")
Expand Down

2 comments on commit e9150a1

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily package evaluation, I will reply here when finished:

@nanosoldier runtests(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your package evaluation job has completed - possible new issues were detected. A full report can be found here.

Please sign in to comment.