Skip to content

Commit 1f88231

Browse files
committed
Fix CI on 1.12
1 parent fc63590 commit 1f88231

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/requirements_printing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function format_method(f::Function, argtypes::TupleType; module_names=false, col
4646
fname = f
4747
typenames = argtypes.parameters
4848
if !module_names
49-
fname = typeof(f).name.mt.name
49+
fname = nameof(f)
5050
mless_typenames = []
5151
for t in argtypes.parameters
5252
if isa(t, Union)

0 commit comments

Comments
 (0)