[Issue 11959] New: Phobos should not declare public symbols in version(unittest) blocks
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jan 21 09:53:46 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11959
Summary: Phobos should not declare public symbols in
version(unittest) blocks
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: dransic at gmail.com
--- Comment #0 from Nicolas Sicard <dransic at gmail.com> 2014-01-21 09:53:43 PST ---
I think that Phobos shouldn't declare public symbols in version(unittest)
blocks, as these can conflict with unittests in user code. Many of them have
names that are unlikely to appear in user code. But others are quite common
(e.g. Length, in std.range). See attached list for a quickly generated list of
such symbols.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list