diff --git a/compiler/sigmatch.nim b/compiler/sigmatch.nim index 6fb250179..041baf126 100644 --- a/compiler/sigmatch.nim +++ b/compiler/sigmatch.nim @@ -166,6 +166,15 @@ proc writeMatches*(c: TCandidate) = Writeln(stdout, "intconv matches: " & $c.intConvMatches) Writeln(stdout, "generic matches: " & $c.genericMatches) +proc argTypeToString(arg: PNode): string = + if arg.kind in nkSymChoices: + result = typeToString(arg[0].typ) + for i in 1 ..