[Issue 6397] New: D1: Empty const string causes bad obj

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 28 14:05:13 PDT 2011


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

           Summary: D1: Empty const string causes bad obj
           Product: D
           Version: D1
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: cbkbbejeap at mailinator.com


--- Comment #0 from Nick Sabalausky <cbkbbejeap at mailinator.com> 2011-07-28 14:05:10 PDT ---
const a = "";

void main()
{
    auto x = a;
}

> dmd testEmptyStringLink.d
OPTLINK (R) for Win32  Release 8.00.12
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
testEmptyStringLink.obj(testEmptyStringLink)  Offset 00180H Record Type 009D
 Error 16: Index Range
--- errorlevel 1

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