diff options
author | Simon Hafner <hafnersimon@gmail.com> | 2013-10-22 07:24:35 -0700 |
---|---|---|
committer | Simon Hafner <hafnersimon@gmail.com> | 2013-10-22 07:24:35 -0700 |
commit | a352109adebe6680cea5337b7e4c8678c588fc53 (patch) | |
tree | 33cc89f1db5666f49720a99dd75ddfcaecdc6391 /compiler | |
parent | a74a93d885de0027b576c7363036e89cf1f42d91 (diff) | |
parent | b27aae4bf9e47992f8d32eeee69e226edaae6bd0 (diff) | |
download | Nim-a352109adebe6680cea5337b7e4c8678c588fc53.tar.gz |
Merge pull request #630 from mflamer/master
remove whitespace
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/types.nim | 8 |
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) |