Skip to content

Commit 1ecbfcf

Browse files
committed
Tighten the type of signatures
1 parent 6ee24af commit 1ecbfcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/signatures.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ occurs for "empty method" expressions, e.g., `:(function foo end)`. `pc` will be
534534
By default the method will be defined (evaluated). You can prevent this by setting `define=false`.
535535
This is recommended if you are simply extracting signatures from code that has already been evaluated.
536536
"""
537-
function methoddef!(@nospecialize(recurse), signatures, frame::Frame, @nospecialize(stmt), pc::Int; define::Bool=true)
537+
function methoddef!(@nospecialize(recurse), signatures::Vector{Pair{Union{Nothing,MethodTable},Any}}, frame::Frame, @nospecialize(stmt), pc::Int; define::Bool=true)
538538
framecode, pcin = frame.framecode, pc
539539
if ismethod3(stmt)
540540
pc3 = pc

0 commit comments

Comments
 (0)