summary refs log tree commit diff stats
path: root/compiler/semexprs.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-07-13 05:13:12 +0200
committerAndreas Rumpf <rumpf_a@web.de>2017-07-13 05:13:12 +0200
commitbc738d63a728ee6030cc224c8808990a6f641feb (patch)
tree0ab00b49c617a99fa9eaaf354458a77592f305dd /compiler/semexprs.nim
parent2b862b74e0b0b7b4a18f4262356289fb921eaf0c (diff)
downloadNim-bc738d63a728ee6030cc224c8808990a6f641feb.tar.gz
no interval arithmetic anymore to construct implicit range types; breaking change
Diffstat (limited to 'compiler/semexprs.nim')
-rw-r--r--compiler/semexprs.nim1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim
index 76d4be766..5f48e2fc5 100644
--- a/compiler/semexprs.nim
+++ b/compiler/semexprs.nim
@@ -588,7 +588,6 @@ proc evalAtCompileTime(c: PContext, n: PNode): PNode =
       result = semfold.getConstExpr(c.module, call)
       if result.isNil: result = n
       else: return result
-    result.typ = semfold.getIntervalType(callee.magic, call)
 
   block maybeLabelAsStatic:
     # XXX: temporary work-around needed for tlateboundstatic.