summary refs log tree commit diff stats
path: root/compiler/ast.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-03-05 09:54:59 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-03-05 09:54:59 +0100
commit142a2d355123155fb6ef600f269687703e554224 (patch)
treebeab41551e33d59601fea19d3a210ef56c1d2dbd /compiler/ast.nim
parent2dc8a323242b639875d24d1baa7c8c9da2055fe2 (diff)
downloadNim-142a2d355123155fb6ef600f269687703e554224.tar.gz
added system.default in order to prevent the abstraction inversion that 'template default(T): untyped = (var x: T; x)' causes
Diffstat (limited to 'compiler/ast.nim')
-rw-r--r--compiler/ast.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim
index 607b497fb..b325e6d42 100644
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -635,7 +635,7 @@ type
     mSwap, mIsNil, mArrToSeq, mCopyStr, mCopyStrLast,
     mNewString, mNewStringOfCap, mParseBiggestFloat,
     mMove, mWasMoved, mDestroy,
-    mReset,
+    mDefault, mReset,
     mArray, mOpenArray, mRange, mSet, mSeq, mOpt, mVarargs,
     mRef, mPtr, mVar, mDistinct, mVoid, mTuple,
     mOrdinal,