From a27eb51535f9ff233b67e5bac80cc51b81c343c7 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Fri, 27 Dec 2013 18:34:28 +0200 Subject: towards support for composite type classes such as seq[Number] and SquareMatrix[T] --- compiler/procfind.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/procfind.nim') 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 -- cgit 1.4.1-2-gfad0