Comment #4 by andrej.mitrovich — 2013-06-09T19:12:35Z
(In reply to comment #3)
> I looked into this, here's how far I got:
>
> On
> https://github.com/D-Programming-Language/phobos/blob/master/std/algorithm.d#L8130,
> "static if (is(typeof(text(r))))" is evaluated. That's what's causing the
> crash. The question is what's causing the bug. I don't know; instantiating
> typeof(text(r)) works properly in tests.
What I'm wondering: when does text(r) ever not work? Is there an actual test-case for this?
Comment #5 by andrei — 2013-06-09T19:14:03Z
(In reply to comment #4)
> (In reply to comment #3)
> > I looked into this, here's how far I got:
> >
> > On
> > https://github.com/D-Programming-Language/phobos/blob/master/std/algorithm.d#L8130,
> > "static if (is(typeof(text(r))))" is evaluated. That's what's causing the
> > crash. The question is what's causing the bug. I don't know; instantiating
> > typeof(text(r)) works properly in tests.
>
> What I'm wondering: when does text(r) ever not work? Is there an actual
> test-case for this?
Hmm, good point. I don't know. I think at this time we have a textual representation for everything.
Comment #6 by andrej.mitrovich — 2013-06-09T19:43:52Z
(In reply to comment #5)
> Hmm, good point. I don't know. I think at this time we have a textual
> representation for everything.
Ok, I'll whip up a quick test and a phobos pull, so we can at least avoid blocking the .2 release.
Comment #7 by andrej.mitrovich — 2013-06-09T19:47:10Z
(In reply to comment #6)
> (In reply to comment #5)
> > Hmm, good point. I don't know. I think at this time we have a textual
> > representation for everything.
>
> Ok, I'll whip up a quick test and a phobos pull, so we can at least avoid
> blocking the .2 release.
https://github.com/D-Programming-Language/phobos/pull/1343
Comment #8 by github-bugzilla — 2013-06-10T09:41:21Z
Comment #9 by andrej.mitrovich — 2013-06-10T11:35:58Z
The library fix is in place, but we still have to figure out why 2.062 doesn't exhibit the same behavior even though it has the same library code. So I'm downgrading this to a normal bug to avoid blocking the .2 release
Comment #10 by dlang-bugzilla — 2017-07-02T16:24:27Z
(In reply to Andrej Mitrovic from comment #9)
> The library fix is in place, but we still have to figure out why 2.062
> doesn't exhibit the same behavior even though it has the same library code.
> So I'm downgrading this to a normal bug to avoid blocking the .2 release
As no reproducible test case has materialized in the past 4 years, closing.
FWIW, this regression was initially introduced in https://github.com/dlang/dmd/pull/1760.