[Issue 7810] ctRegex!`a|b` asserts at regex.d:1150

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 17 22:59:38 PDT 2012


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



--- Comment #5 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2012-05-17 23:01:09 PDT ---
(In reply to comment #4)
> Doesn't appear to require ctRegex to trigger.  This produces the same assertion
> failure.
> 
> import std.regex;
> 
> auto r = regex(r"(a|c");
> 
> void main() { }
> 
> This worked in 2.058 but not 2.059.

not the same.

And yes, global variable == CTFE parser.

+ r"(a|c" unbalanced paren, so it should eventually throw exception but it
asserts before it have the chance to do that.

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


More information about the Digitalmars-d-bugs mailing list