Summary: __dollar cannot be read at compile time
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-03-25 12:18:47 PDT ---
D2 code:

import std.ascii: uppercase;
import std.string: maketrans;
void main() {
    static r = maketrans(uppercase, uppercase[0 .. $]);

DMD 2.059head:

test.d(4): Error: variable __dollar cannot be read at compile time
test.d(4):        called from here:

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

Reply via email to