Comment #0 by bearophile_hugs — 2010-10-16T09:46:08Z
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.
Comment #1 by kennytm — 2011-06-30T10:25:49Z
*** This issue has been marked as a duplicate of issue 1471 ***