[Issue 8338] Unqual's documentation doesn't reflect its behavior on types with indirections

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 26 13:57:33 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=8338

Simen Kjaeraas <simen.kjaras at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simen.kjaras at gmail.com
            Summary|Unqual doesn't work         |Unqual's documentation
                   |properly on arrays          |doesn't reflect its
                   |                            |behavior on types with
                   |                            |indirections

--- Comment #6 from Simen Kjaeraas <simen.kjaras at gmail.com> ---
This is a duplicate of bug 3567. As has been mentioned, changing what Unqual
does is probably a bad idea, but the documentation does not in any way indicate
that Unqual only strips the first layer of qualifier. The text should be
updated to reflect this, and the examples should include const(int[]) and
immutable(float*) or some otherwise fitting types.

Factored out Noqual as a separate proposal in bug 18302, leaving this one for
the documentation for Unqual.

--


More information about the Digitalmars-d-bugs mailing list