Re: Strange error when importing std.regex

2013-06-13 Thread Kenji Hara
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

Strange error when importing std.regex

2013-06-12 Thread Temtaime
Hello guys! http://dpaste.1azy.net/9c4c3eb8 http://dpaste.1azy.net/afd8d20b How i can avoid this?

Re: Strange error when importing std.regex

2013-06-12 Thread bearophile
Temtaime: How i can avoid this? You have to qualify where the function comes from. One way to do it is to use: std.algorithm.splitter(arr, 1); Bye, bearophile

Re: Strange error when importing std.regex

2013-06-12 Thread Temtaime
Oh, thanks very much.

Re: Strange error when importing std.regex

2013-06-12 Thread Dmitry Olshansky
12-Jun-2013 17:28, bearophile пишет: Temtaime: How i can avoid this? You have to qualify where the function comes from. One way to do it is to use: 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

Re: Strange error when importing std.regex

2013-06-12 Thread bearophile
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