summary refs log tree commit diff stats
path: root/compiler/ast.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2016-10-24 20:20:20 +0200
committerAraq <rumpf_a@web.de>2016-10-24 20:20:20 +0200
commit0eb70e64c4dfbe48f6fb5d4873d4c02dca65bc4a (patch)
tree1b7ffe69eabd3ec37db7c1f011394cd921e7d855 /compiler/ast.nim
parent1d191831c0c41536efc1a57be48f38b0746bd40f (diff)
parent6fd27a8a0849e2c1150b5f15b7b61d43b63642b2 (diff)
downloadNim-0eb70e64c4dfbe48f6fb5d4873d4c02dca65bc4a.tar.gz
Merge branch 'devel' of github.com:nim-lang/Nim into devel
Diffstat (limited to 'compiler/ast.nim')
-rw-r--r--compiler/ast.nim10
1 files changed, 7 insertions, 3 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim
index 2426dcc02..5c9252bee 100644
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -317,6 +317,10 @@ type
   TTypeKind* = enum  # order is important!
                      # Don't forget to change hti.nim if you make a change here
                      # XXX put this into an include file to avoid this issue!
+                     # several types are no longer used (guess which), but a
+                     # spot in the sequence is kept for backwards compatibility
+                     # (apparently something with bootstrapping)
+                     # if you need to add a type, they can apparently be reused
     tyNone, tyBool, tyChar,
     tyEmpty, tyArrayConstr, tyNil, tyExpr, tyStmt, tyTypeDesc,
     tyGenericInvocation, # ``T[a, b]`` for types to invoke
@@ -345,9 +349,9 @@ type
     tyInt, tyInt8, tyInt16, tyInt32, tyInt64, # signed integers
     tyFloat, tyFloat32, tyFloat64, tyFloat128,
     tyUInt, tyUInt8, tyUInt16, tyUInt32, tyUInt64,
-    tyBigNum,
-    tyConst, tyMutable, tyVarargs,
-    tyUnused # kept for enum ordinal compatibility
+    tyUnused0, tyUnused1, tyUnused2,
+    tyVarargs,
+    tyUnused,
     tyProxy # used as errornous type (for idetools)
 
     tyBuiltInTypeClass #\