Skip to content

Commit da3aae9

Browse files
committed
Update README.md
1 parent f973147 commit da3aae9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,16 @@ You can also find the method-signatures at a particular location:
116116
117117
```julia
118118
julia> signatures_at(ColorTypes, "src/traits.jl", 14)
119-
1-element Array{Any,1}:
120-
Tuple{typeof(red),AbstractRGB}
119+
1-element Vector{Pair{Union{Nothing, Core.MethodTable}, Type}}:
120+
nothing => Tuple{typeof(red),AbstractRGB}
121121

122122
julia> signatures_at("/home/tim/.julia/packages/ColorTypes/BsAWO/src/traits.jl", 14)
123-
1-element Array{Any,1}:
124-
Tuple{typeof(red),AbstractRGB}
123+
1-element Vector{Pair{Union{Nothing, Core.MethodTable}, Type}}:
124+
nothing => Tuple{typeof(red),AbstractRGB}
125125
```
126126
127+
with the first element being the method table for which the method has been defined (a value of `nothing` denotes the default method table).
128+
127129
CodeTracking also helps correcting for [Julia issue #26314](https://github.com/JuliaLang/julia/issues/26314):
128130
129131
```julia

0 commit comments

Comments
 (0)