Skip to content

Commit d8e311f

Browse files
rfourquetararslan
andauthored
add missing =nothing (ararslan)
Co-Authored-By: Alex Arslan <[email protected]>
1 parent 5365ed3 commit d8e311f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/reflection.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ Return the method table for `f`.
850850
If `types` is specified, return an array of methods whose types match.
851851
If `module` is specified, return an array of methods defined in this module.
852852
"""
853-
function methods(@nospecialize(f), @nospecialize(t), mod::Union{Module,Nothing})
853+
function methods(@nospecialize(f), @nospecialize(t), mod::Union{Module,Nothing}=nothing)
854854
if isa(f, Core.Builtin)
855855
throw(ArgumentError("argument is not a generic function"))
856856
end

0 commit comments

Comments
 (0)