Bug 1521 – Ambiguous documentation

Status
RESOLVED
Resolution
FIXED
Severity
trivial
Priority
P4
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2007-09-19T16:42:00Z
Last change time
2015-06-09T05:14:45Z
Keywords
spec
Assigned to
nobody
Creator
d

Comments

Comment #0 by d — 2007-09-19T16:42:29Z
The documentation currently reads as follows: Class instances are normally allocated on the garbage collected heap. However, if they: * are allocated as local symbols in a function * are allocated using new * use new with no arguments * have the scope storage class It's umbiguous if all items of the list are required as condition, or only one of them. The chapter should be rephrased to make clear that all conditions have to me true before the object is put on stack ("and" nor "or").
Comment #1 by github-bugzilla — 2012-01-21T10:45:30Z