From 3d69c1bd0b877b36a4568860274c362c5cbae6fb Mon Sep 17 00:00:00 2001 From: Daniil Yarancev <21169548+Yardanico@users.noreply.github.com> Date: Mon, 16 Oct 2017 21:41:42 +0300 Subject: [PATCH] Constants can contain objects (excluding object variants) --- doc/manual/stmts.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manual/stmts.txt b/doc/manual/stmts.txt index 3a86a9730e..b24ec3b4a6 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.