diff options
author | Araq <rumpf_a@web.de> | 2011-09-24 13:55:24 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-09-24 13:55:24 +0200 |
commit | 72ceda98cbbef896c31102a2c90d5f9fe1033d03 (patch) | |
tree | e8d5ba9d5602c6a1455c17da85dbf05b86ca02d7 /web/news.txt | |
parent | 033e3dfc50349ffeb5f9d9e839bd62fa22113b69 (diff) | |
download | Nim-72ceda98cbbef896c31102a2c90d5f9fe1033d03.tar.gz |
implemented optional pragma for implicit discard
Diffstat (limited to 'web/news.txt')
-rwxr-xr-x | web/news.txt | 2 |
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 |