summary refs log tree commit diff stats
path: root/compiler/vmdeps.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/vmdeps.nim
parent1d191831c0c41536efc1a57be48f38b0746bd40f (diff)
parent6fd27a8a0849e2c1150b5f15b7b61d43b63642b2 (diff)
downloadNim-0eb70e64c4dfbe48f6fb5d4873d4c02dca65bc4a.tar.gz
Merge branch 'devel' of github.com:nim-lang/Nim into devel
Diffstat (limited to 'compiler/vmdeps.nim')
-rw-r--r--compiler/vmdeps.nim5
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/vmdeps.nim b/compiler/vmdeps.nim
index 88287c366..bd6908722 100644
--- a/compiler/vmdeps.nim
+++ b/compiler/vmdeps.nim
@@ -269,9 +269,6 @@ proc mapTypeToAstX(t: PType; info: TLineInfo;
   of tyUInt16: result = atomicType("uint16", mUint16)
   of tyUInt32: result = atomicType("uint32", mUint32)
   of tyUInt64: result = atomicType("uint64", mUint64)
-  of tyBigNum: result = atomicType("bignum", mNone)
-  of tyConst: result = mapTypeToBracket("const", mNone, t, info)
-  of tyMutable: result = mapTypeToBracket("mutable", mNone, t, info)
   of tyVarargs: result = mapTypeToBracket("varargs", mVarargs, t, info)
   of tyProxy: result = atomicType("error", mNone)
   of tyBuiltInTypeClass:
@@ -294,7 +291,7 @@ proc mapTypeToAstX(t: PType; info: TLineInfo;
       result.add atomicType("static", mNone)
       if t.n != nil:
         result.add t.n.copyTree
-  of tyUnused: internalError("mapTypeToAstX")
+  of tyUnused, tyUnused0, tyUnused1, tyUnused2: internalError("mapTypeToAstX")
 
 proc opMapTypeToAst*(t: PType; info: TLineInfo): PNode =
   result = mapTypeToAstX(t, info, false, true)