Strange error when importing std.regex

Kenji Hara k.hara.pg at gmail.com
Thu Jun 13 02:54:09 PDT 2013


On Wednesday, 12 June 2013 at 18:44:12 UTC, bearophile wrote:
> Dmitry Olshansky:
>
>> There is no ambiguity, 1 is not a Regex object but it seems 
>> like template constraint in std.regex blows up.
>>
>> @Temtaime please file a bug on this.
>> http://d.puremagic.com/issues/
>>> std.algorithm.splitter(arr, 1);
>
> I think this bug already surfaced some time ago... Maybe it's 
> already in Bugzilla.
>
> Bye,
> bearophile

Right now I cannot see the original code in dpaste, but the issue 
would be a same bug with 8352.
http://d.puremagic.com/issues/show_bug.cgi?id=8352

I have maintained a compiler fix for that, but unfortunately it 
is not yet merged.
https://github.com/D-Programming-Language/dmd/pull/1660

Kenji Hara


More information about the Digitalmars-d-learn mailing list