diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-07-09 12:09:25 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-07-09 12:09:25 +0200 |
commit | 6ba9c2b119deffee3d94f18a46b42a3525535226 (patch) | |
tree | 0746274138652443b666ed11e897a9bbf22f3e29 /doc/tut1.rst | |
parent | 674db58a249fd6b7d0a35258158e713798bf7d98 (diff) | |
download | Nim-6ba9c2b119deffee3d94f18a46b42a3525535226.tar.gz |
fixes #6062
Diffstat (limited to 'doc/tut1.rst')
-rw-r--r-- | doc/tut1.rst | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/doc/tut1.rst b/doc/tut1.rst index 436b3880d..fc8e411cb 100644 --- a/doc/tut1.rst +++ b/doc/tut1.rst @@ -1492,20 +1492,6 @@ variables! For example: echo badname echo badext -Tuple unpacking **only** works in ``var`` or ``let`` blocks. The following code -won't compile: - -.. code-block:: nim - - import os - - var - path = "usr/local/nimc.html" - dir, name, ext = "" - - (dir, name, ext) = splitFile(path) - # --> Error: '(dir, name, ext)' cannot be assigned to - Reference and pointer types --------------------------- |