summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-02-25 00:40:21 +0100
committerAraq <rumpf_a@web.de>2014-02-25 00:40:21 +0100
commit4c26c3a4281b70efe2865499326afe802de98db2 (patch)
treed872a3e8485334521d8bb0aedc0c146cf2f566a0
parentb320e02903898401fdc99ec7bb7b167efc2cce12 (diff)
downloadNim-4c26c3a4281b70efe2865499326afe802de98db2.tar.gz
bugfix: typo
-rw-r--r--compiler/types.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/types.nim b/compiler/types.nim
index d7148f110..e6178f446 100644
--- a/compiler/types.nim
+++ b/compiler/types.nim
@@ -463,7 +463,7 @@ proc typeToString(typ: PType, prefer: TPreferedDesc = preferName): string =
   of tyAnd:
     result = typeToString(t.sons[0]) & " and " & typeToString(t.sons[1])
   of tyOr:
-    result = typeToString(t.sons[0]) & " and " & typeToString(t.sons[1])
+    result = typeToString(t.sons[0]) & " or " & typeToString(t.sons[1])
   of tyNot:
     result = "not " & typeToString(t.sons[0])
   of tyExpr: