From 129e72de70fef24246d230645894cc4b8d7ff38f Mon Sep 17 00:00:00 2001 From: Mark Flamer Date: Mon, 21 Oct 2013 21:33:24 -0700 Subject: [PATCH 1/2] remove extra white space --- compiler/types.nim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/compiler/types.nim b/compiler/types.nim index f5fb6555b2..fc96810b03 100644 --- a/compiler/types.nim +++ b/compiler/types.nim @@ -754,9 +754,7 @@ proc sameObjectTypes*(a, b: PType): bool = # specialized for efficiency (sigmatch uses it) IfFastObjectTypeCheckFailed(a, b): var c = initSameTypeClosure() - result = sameTypeAux(a, b, c) - - + result = sameTypeAux(a, b, c) proc sameDistinctTypes*(a, b: PType): bool {.inline.} = result = sameObjectTypes(a, b) From b27aae4bf9e47992f8d32eeee69e226edaae6bd0 Mon Sep 17 00:00:00 2001 From: Mark Flamer Date: Mon, 21 Oct 2013 21:36:48 -0700 Subject: [PATCH 2/2] more whitespace removal --- compiler/types.nim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/compiler/types.nim b/compiler/types.nim index fc96810b03..66748c3081 100644 --- a/compiler/types.nim +++ b/compiler/types.nim @@ -621,9 +621,7 @@ type proc initSameTypeClosure: TSameTypeClosure = # we do the initialization lazily for performance (avoids memory allocations) nil - - - + proc containsOrIncl(c: var TSameTypeClosure, a, b: PType): bool = result = not IsNil(c.s) and c.s.contains((a.id, b.id)) if not result: