From f58cc496725c65fe9d7ba85a0eab284255074416 Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 15 Jan 2012 01:03:57 +0100 Subject: niminst: bugfixes; documentation changes --- compiler/ast.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler') diff --git a/compiler/ast.nim b/compiler/ast.nim index 9e799e051..db5d8b9f0 100755 --- a/compiler/ast.nim +++ b/compiler/ast.nim @@ -1024,7 +1024,7 @@ proc getStrOrChar*(a: PNode): string = proc isGenericRoutine*(s: PSym): bool = case s.kind - of skProc, skTemplate, skMacro, skIterator, skMethod: + of skProc, skTemplate, skMacro, skIterator, skMethod, skConverter: result = s.ast != nil and s.ast[genericParamsPos].kind != nkEmpty else: nil -- cgit 1.4.1-2-gfad0