Bug 6397 – D1: Empty const string causes bad obj

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
Other
OS
Windows
Creation time
2011-07-28T14:05:10Z
Last change time
2017-10-25T03:15:50Z
Assigned to
No Owner
Creator
Nick Sabalausky

Comments

Comment #0 by bus_dbugzilla — 2011-07-28T14:05:10Z
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
Comment #1 by bugzilla — 2017-10-25T03:15:50Z
Works with HEAD.