[Issue 10295] New: nothrow problem in balancedParens called by std.path.globMatch precondition

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 7 17:31:55 PDT 2013


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

           Summary: nothrow problem in balancedParens called by
                    std.path.globMatch precondition
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2013-06-07 17:31:54 PDT ---
Problem found by Anthony Goins in D.learn.


import std.path: globMatch;
void main() {
    assert(globMatch("foo.bar", "*"));
}


dmd 2.064alpha, the problem is visible only compiling with "-profile":

...\src\phobos\std\path.d(2187): Error: balancedParens is not nothrow
...\src\phobos\std\path.d(2188): Error: balancedParens is not nothrow

-- 
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