January 31, 2015
https://issues.dlang.org/show_bug.cgi?id=14094

          Issue ID: 14094
           Summary: Using string import in map results in error message
                    with __error
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody@puremagic.com
          Reporter: doob@me.com

I'm not sure if this is supposed to compile but the following will result a compile error which includes "__error" in the error message:

import std.algorithm;
enum foo = ["foo"].map!((string e) => import(e));

The error message is:

main.d(2): Error: variable e cannot be read at compile time
main.d(2): Error: file name argument must be a string, not (__error)

--