[Issue 1086] New: CodeView: missing line information for string switch

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 30 01:42:00 PDT 2007


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

           Summary: CodeView: missing line information for string switch
           Product: D
           Version: 1.010
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: jascha at mainia.de


void main(char[][] args)
{
    char[] str = args[0];

    switch ( str )      // doesn't show up in codeview
    {
        case "asdf":
            args[0] = "qwer";
            break;
        default:
    }

    switch ( args[0] )  // shows up in codeview
    {
        case "asdf":
            args[0] = "qwer";
            break;
        default:
    }
}


-- 



More information about the Digitalmars-d-bugs mailing list