diff options
author | Daniil Yarancev <21169548+Yardanico@users.noreply.github.com> | 2017-10-16 21:41:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-16 21:41:42 +0300 |
commit | 3d69c1bd0b877b36a4568860274c362c5cbae6fb (patch) | |
tree | c6f06f1653d8b997f4e3af95dc82c4da130b4a8a /doc/manual/stmts.txt | |
parent | 9485f1c888422bc39f6f6b0e06e5dc230636be06 (diff) | |
download | Nim-3d69c1bd0b877b36a4568860274c362c5cbae6fb.tar.gz |
Constants can contain objects (excluding object variants)
Diffstat (limited to 'doc/manual/stmts.txt')
-rw-r--r-- | doc/manual/stmts.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/stmts.txt b/doc/manual/stmts.txt index 3a86a9730..b24ec3b4a 100644 --- a/doc/manual/stmts.txt +++ b/doc/manual/stmts.txt @@ -199,7 +199,7 @@ The rules for compile-time computability are: (possibly empty) list of compile-time computable arguments. -Constants cannot be of type ``ptr``, ``ref``, ``var`` or ``object``, nor can +Constants cannot be of type ``ptr``, ``ref`` or ``var``, nor can they contain such a type. |