summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorSimon Hafner <hafnersimon@gmail.com>2013-10-22 07:24:35 -0700
committerSimon Hafner <hafnersimon@gmail.com>2013-10-22 07:24:35 -0700
commita352109adebe6680cea5337b7e4c8678c588fc53 (patch)
tree33cc89f1db5666f49720a99dd75ddfcaecdc6391 /compiler
parenta74a93d885de0027b576c7363036e89cf1f42d91 (diff)
parentb27aae4bf9e47992f8d32eeee69e226edaae6bd0 (diff)
downloadNim-a352109adebe6680cea5337b7e4c8678c588fc53.tar.gz
Merge pull request #630 from mflamer/master
remove whitespace
Diffstat (limited to 'compiler')
-rw-r--r--compiler/types.nim8
1 files changed, 2 insertions, 6 deletions
diff --git a/compiler/types.nim b/compiler/types.nim
index f5fb6555b..66748c308 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:
@@ -754,9 +752,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)