fixes #1324
This commit is contained in:
parent
65ca05730d
commit
a7538a9727
1 changed files with 5 additions and 0 deletions
|
|
@ -297,6 +297,11 @@ One can use `tuple unpacking`:idx: to access the tuple's fields:
|
||||||
assert y == 3
|
assert y == 3
|
||||||
|
|
||||||
|
|
||||||
|
**Note**: ``var`` parameters are never necessary for efficient parameter
|
||||||
|
passing. Since non-var parameters cannot be modified the compiler is always
|
||||||
|
free to pass arguments by reference if it considers it can speed up execution.
|
||||||
|
|
||||||
|
|
||||||
Var return type
|
Var return type
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue