digitalmars.D.bugs - [Issue 11959] New: Phobos should not declare public symbols in version(unittest) blocks
- d-bugmail puremagic.com (22/22) Jan 21 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11959
- d-bugmail puremagic.com (7/7) Jan 21 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11959
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 puremagic.com ReportedBy: dransic gmail.com --- 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: -------
Jan 21 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11959 --- Created an attachment (id=1315) List of public unittest symbols -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 21 2014