[Issue 5615] New: std.string.indexOf broken at compile time

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 19 15:06:28 PST 2011


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

           Summary: std.string.indexOf broken at compile time
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: spam at extrawurst.org


--- Comment #0 from Stephan Dilly <spam at extrawurst.org> 2011-02-19 15:03:49 PST ---
This is a regression. The code used to work in dmd2.051:

import std.string:indexOf;

static assert(indexOf("foobar","foo")==0);

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