Revert "more test made green"

This reverts commit 911e6e710f.
This commit is contained in:
Araq 2013-05-27 23:16:56 +02:00
commit c67abd7e61
6 changed files with 89 additions and 96 deletions

View file

@ -1285,8 +1285,7 @@ proc getStrOrChar*(a: PNode): string =
proc isGenericRoutine*(s: PSym): bool =
case s.kind
of skProc, skTemplate, skMacro, skIterator, skMethod, skConverter:
result = sfFromGeneric in s.flags or
(s.ast != nil and s.ast[genericParamsPos].kind != nkEmpty)
result = sfFromGeneric in s.flags
else: nil
proc isRoutine*(s: PSym): bool {.inline.} =