summary refs log tree commit diff stats
path: root/compiler/renderer.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-10-24 19:20:02 +0200
committerGitHub <noreply@github.com>2016-10-24 19:20:02 +0200
commit6fd27a8a0849e2c1150b5f15b7b61d43b63642b2 (patch)
tree442c06665f3320b78a66b847095386aa67c823fe /compiler/renderer.nim
parent3715a5ac91ede3002a3d94dbab2926d96d5ff257 (diff)
parentf5c3eb6a254e9e9f8c6389cb9f707a6ff878bd5c (diff)
downloadNim-6fd27a8a0849e2c1150b5f15b7b61d43b63642b2.tar.gz
Merge pull request #4945 from arnetheduck/cleanup-tyXxx
Cleanup ty xxx
Diffstat (limited to 'compiler/renderer.nim')
-rw-r--r--compiler/renderer.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/renderer.nim b/compiler/renderer.nim
index a116a8afe..d06269156 100644
--- a/compiler/renderer.nim
+++ b/compiler/renderer.nim
@@ -289,8 +289,7 @@ proc lsub(n: PNode): int
 proc litAux(n: PNode, x: BiggestInt, size: int): string =
   proc skip(t: PType): PType =
     result = t
-    while result.kind in {tyGenericInst, tyRange, tyVar, tyDistinct, tyOrdinal,
-                          tyConst, tyMutable}:
+    while result.kind in {tyGenericInst, tyRange, tyVar, tyDistinct, tyOrdinal}:
       result = lastSon(result)
   if n.typ != nil and n.typ.skip.kind in {tyBool, tyEnum}:
     let enumfields = n.typ.skip.n