summary refs log tree commit diff stats
path: root/web/news.txt
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-09-24 13:55:24 +0200
committerAraq <rumpf_a@web.de>2011-09-24 13:55:24 +0200
commit72ceda98cbbef896c31102a2c90d5f9fe1033d03 (patch)
treee8d5ba9d5602c6a1455c17da85dbf05b86ca02d7 /web/news.txt
parent033e3dfc50349ffeb5f9d9e839bd62fa22113b69 (diff)
downloadNim-72ceda98cbbef896c31102a2c90d5f9fe1033d03.tar.gz
implemented optional pragma for implicit discard
Diffstat (limited to 'web/news.txt')
-rwxr-xr-xweb/news.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/news.txt b/web/news.txt
index 462133d24..a531f0334 100755
--- a/web/news.txt
+++ b/web/news.txt
@@ -47,6 +47,8 @@ Language Additions
 - Return types may be of the type ``var T`` to return an l-value.
 - The error pragma can now be used to mark symbols whose *usage* should trigger
   a compile-time error.
+- There is a new ``optional`` pragma that can be used to mark a routine so that
+  its result can be discarded implicitely.
 
 
 Compiler Additions