summary refs log tree commit diff stats
path: root/compiler/ast.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-07-22 16:44:33 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-07-22 16:44:33 +0200
commit4d85616e0be8fa5e390b3f17fb19bdea4c8416d5 (patch)
tree305a04c114acf2a85a060426651384dc16c4fa86 /compiler/ast.nim
parentf485ebe1624656c0cf495baaebc5d45fdc9bdbeb (diff)
downloadNim-4d85616e0be8fa5e390b3f17fb19bdea4c8416d5.tar.gz
ast.nim: remove space for unary operator
Diffstat (limited to 'compiler/ast.nim')
-rw-r--r--compiler/ast.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim
index 279ed5a08..3870c82ee 100644
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -1265,7 +1265,7 @@ proc newType*(kind: TTypeKind, owner: PSym): PType =
   new(result)
   result.kind = kind
   result.owner = owner
-  result.size = - 1
+  result.size = -1
   result.align = 2            # default alignment
   result.id = getID()
   result.lockLevel = UnspecifiedLockLevel