diff options
author | Araq <rumpf_a@web.de> | 2012-09-22 22:43:36 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-09-22 22:43:36 +0200 |
commit | 759b3201ad7f60ee865f9c0cec57d6ce63c74b73 (patch) | |
tree | 234e76619824ce081d9b1eaf469242d36de1936e /web | |
parent | 3ef146b0eacb8781dd0e352925001de342d6cc9d (diff) | |
download | Nim-759b3201ad7f60ee865f9c0cec57d6ce63c74b73.tar.gz |
proc bodies can be expressions with a type
Diffstat (limited to 'web')
-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 f6a7dd112..6d660579d 100755 --- a/web/news.txt +++ b/web/news.txt @@ -165,6 +165,8 @@ Language Additions comment pieces don't have to align on the same column. - Enums can be annotated with ``pure`` so that their field names do not pollute the current scope. +- A proc body can consist of an expression that has a type. This is rewritten + to ``result = expression`` then. 2012-02-09 Version 0.8.14 released |