diff options
author | Araq <rumpf_a@web.de> | 2015-08-21 12:31:55 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-08-21 21:34:14 +0200 |
commit | bfd2fd67f948f6a5ee8815ee866d55d147f53c73 (patch) | |
tree | d03fdbac18566c26c4a9dffd74c270949889a8c9 /web | |
parent | 2733c508ef2681fe8eddfe9c73419ef3226e479d (diff) | |
download | Nim-bfd2fd67f948f6a5ee8815ee866d55d147f53c73.tar.gz |
tuple unpacking works in a non-var/let context
Diffstat (limited to 'web')
-rw-r--r-- | web/news.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/news.txt b/web/news.txt index fce77a0bf..46867ac4c 100644 --- a/web/news.txt +++ b/web/news.txt @@ -72,6 +72,9 @@ News - Added ``macros.getImpl`` that can be used to access the implementation of a routine or a constant. This allows for example for user-defined inlining of function calls. + - Tuple unpacking finally works in a non-var/let context: ``(x, y) == f()`` + is allowed. Note that this doesn't declare ``x`` and ``y`` variables, for + this ``let (x, y) == f()`` still needs to be used. Bugfixes |