[Issue 5062] New: Problem with a string slicing
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Oct 16 09:46:43 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5062
Summary: Problem with a string slicing
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 2010-10-16 09:46:08 PDT ---
With DMD 2.049 this program:
void main() {
int x = 1;
auto s = "abcdefg"[x .. $];
}
Produces this output:
OPTLINK (R) for Win32 Release 8.00.8
Copyright (C) Digital Mars 1989-2010 All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
test2.obj(test2)
Error 42: Symbol Undefined _D5test24mainFZv8__dollarxk
I think this problem was not present in some D1 compiler.
--
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