[Issue 11671] ctRegex broken
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Dec 4 13:09:59 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11671
--- Comment #12 from monarchdodra at gmail.com 2013-12-04 13:09:47 PST ---
(In reply to comment #11)
> (In reply to comment #10)
> > You are right, it's a recent regression caused by my refactoring.
> > Sadly we don't have (yet) a way to test accessibility of symbols, I hope that
> > will come with splitting up modules.
>
> Technically we can test it with `__traits(getProtection, symbol)`. This is
> probably the kind of thing that would become more practical with a more
> advanced testing library than the barebones we get by default.
Another (simpler) solution would be to include "programs" with phobos that are
part of the testing suite. Not only would it cover things a bit more
"real-world"-ish then the "unitary" "unittests", but it would also cover the
public/private issues (you don't cover with unittests), as well as make sure it
still works outside of a "version(unittest)" case (we've had a couple of these
too).
Currently, the closest we have is "dmd"'s testing suite: I've seen more than a
couple of additions to phobos that passed phobo's test's with flying colors,
but *broke* dmd's test suite: Specifically because dmd's test suite is an
actual program written in D.
--
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