# # # The Nim Compiler # (c) Copyright 2013 Andreas Rumpf # # See the file "copying.txt", included in this # distribution, for details about the copyright. # # This module implements the searching for procs and iterators. # This is needed for proper handling of forward declarations. import ast, astalgo, msgs, semdata, types, trees, strutils, lookups proc equalGenericParams(procA, procB: PNode): bool = if procA.len != procB.len: return false for i in 0..