digitalmars.D.learn - Strange error when importing std.regex
- Temtaime (4/4) Jun 12 2013 Hello guys!
- bearophile (6/7) Jun 12 2013 You have to qualify where the function comes from. One way to do
- Temtaime (1/1) Jun 12 2013 Oh, thanks very much.
- Dmitry Olshansky (7/14) Jun 12 2013 There is no ambiguity, 1 is not a Regex object but it seems like
- bearophile (5/10) Jun 12 2013 I think this bug already surfaced some time ago... Maybe it's
- Kenji Hara (8/19) Jun 13 2013 Right now I cannot see the original code in dpaste, but the issue
Hello guys! http://dpaste.1azy.net/9c4c3eb8 http://dpaste.1azy.net/afd8d20b How i can avoid this?
Jun 12 2013
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
Jun 12 2013
12-Jun-2013 17:28, bearophile пишет:Temtaime: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/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-- Dmitry Olshansky
Jun 12 2013
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/I think this bug already surfaced some time ago... Maybe it's already in Bugzilla. Bye, bearophilestd.algorithm.splitter(arr, 1);
Jun 12 2013
On Wednesday, 12 June 2013 at 18:44:12 UTC, bearophile wrote:Dmitry Olshansky: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 HaraThere 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/I think this bug already surfaced some time ago... Maybe it's already in Bugzilla. Bye, bearophilestd.algorithm.splitter(arr, 1);
Jun 13 2013