summary refs log tree commit diff stats
path: root/compiler/procfind.nim
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2013-12-27 18:34:28 +0200
committerZahary Karadjov <zahary@gmail.com>2013-12-27 18:34:28 +0200
commita27eb51535f9ff233b67e5bac80cc51b81c343c7 (patch)
tree02d29f44788e7ddc00ee9bba3381eb86d349ba6a /compiler/procfind.nim
parent4eea2f17d36b2cf239f0a987b5d9715a81b2b70f (diff)
downloadNim-a27eb51535f9ff233b67e5bac80cc51b81c343c7.tar.gz
towards support for composite type classes such as seq[Number] and SquareMatrix[T]
Diffstat (limited to 'compiler/procfind.nim')
-rw-r--r--compiler/procfind.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/procfind.nim b/compiler/procfind.nim
index aefccd140..aef1c4edc 100644
--- a/compiler/procfind.nim
+++ b/compiler/procfind.nim
@@ -25,7 +25,7 @@ proc equalGenericParams(procA, procB: PNode): bool =
     let a = procA.sons[i].sym
     let b = procB.sons[i].sym
     if a.name.id != b.name.id or
-        not sameTypeOrNil(a.typ, b.typ, {TypeDescExactMatch}): return
+        not sameTypeOrNil(a.typ, b.typ, {ExactTypeDescValues}): return
     if a.ast != nil and b.ast != nil:
       if not ExprStructuralEquivalent(a.ast, b.ast): return
   result = true