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

--- Comment #0 from 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.
 Error 42: Symbol Undefined _D5test24mainFZv8__dollarxk

I think this problem was not present in some D1 compiler.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to