http://d.puremagic.com/issues/show_bug.cgi?id=6261


Dmitry Olshansky <dmitry.o...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.o...@gmail.com
          Component|DMD                         |Phobos
         AssignedTo|nob...@puremagic.com        |dmitry.o...@gmail.com
           Severity|normal                      |regression


--- Comment #1 from Dmitry Olshansky <dmitry.o...@gmail.com> 2011-07-06 
14:40:11 PDT ---
Well it's not a bug in DMD. The issue is that CTFE got an upgrade, and detects
more subtle bugs it seems.
The main issue is that it no longer works with mutable patterns.
This also fails:
import std.regex;
void main(){
    char[] a = new char[256];
    auto re = regex(a);
}

So it's a bug in std.regex, at that exact line. (Again: it is an issue of
sloppy typecheck)
I'll see about a proper fix.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to