Constants can contain objects (excluding object variants)

This commit is contained in:
Daniil Yarancev
2017-10-16 21:41:42 +03:00
committed by GitHub
parent 9485f1c888
commit 3d69c1bd0b

View File

@@ -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.