summary refs log tree commit diff stats
path: root/compiler/ast.nim
diff options
context:
space:
mode:
authorOscar NihlgÄrd <oscarnihlgard@gmail.com>2019-05-10 11:10:11 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-05-10 11:10:11 +0200
commitde5c0d3aa9fd713a698f7f596c9bf925d00729c2 (patch)
treed08841d1d4e5184fd997202b4f83c1ec05bb31b3 /compiler/ast.nim
parent3a479ff53f04b1d42243f4c76a0ac0414ffd0277 (diff)
downloadNim-de5c0d3aa9fd713a698f7f596c9bf925d00729c2.tar.gz
Make range checks in semConv (#7164)
* Remove NaN/Inf/NegInf magic
* Make range checks in semConv
* fix the failing line
* fix `firstOrd` and `lastOrd`
* fix `localError`
* remove debug comment
* Cleanup, fix failing test
* make tests green
Diffstat (limited to 'compiler/ast.nim')
-rw-r--r--compiler/ast.nim1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim
index ee90c566b..76665809a 100644
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -656,7 +656,6 @@ type
     mVoidType, mPNimrodNode, mShared, mGuarded, mLock, mSpawn, mDeepCopy,
     mIsMainModule, mCompileDate, mCompileTime, mProcCall,
     mCpuEndian, mHostOS, mHostCPU, mBuildOS, mBuildCPU, mAppType,
-    mNaN, mInf, mNegInf,
     mCompileOption, mCompileOptionArg,
     mNLen, mNChild, mNSetChild, mNAdd, mNAddMultiple, mNDel,
     mNKind, mNSymKind,