From: "Nick Sabalausky" <[email protected]>
In one of my programs I'm getting:

D:\DevTool\dmd2beta\dmd2\windows\bin\..\..\src\phobos\std\regex.d(6576): Error: cannot implicitly convert expression (m) of type Captures!(string,uint) to RegexMatch!(string,ThompsonMatcher)

Which isn't very helpful. I'm tracking down the code that's triggering it...



Test case:

import std.regex;
void main()
{
   std.regex.replace!(
       (RegexMatch!string m) { return ""; }
   )( "", regex("") );
}

_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to