Skip to content

Commit

Permalink
Add new MethodError text to doctest
Browse files Browse the repository at this point in the history
Seelengrab committed Dec 8, 2024
1 parent 547003f commit 8059b3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/RequiredInterfaces.jl
Original file line number Diff line number Diff line change
@@ -261,6 +261,8 @@ Stacktrace:
julia> bar(1, Baz())
ERROR: MethodError: no method matching bar(::Int64, ::Baz)
The function `bar` exists, but no method is defined for this combination of argument types.
Stacktrace:
[1] top-level scope
@ none:1

0 comments on commit 8059b3c

Please sign in to comment.