[Issue 14731] New: [REG:git-head]Error location insufficient when CTFE

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jun 24 19:39:00 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14731

          Issue ID: 14731
           Summary: [REG:git-head]Error location insufficient when CTFE
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: diagnostic
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: jiki at red.email.ne.jp

See below code. Dmd reports an error location _inside_of_phobos_ without the
instantiation in the application.

import std.array;
void main()
{
    enum string list1 = "a b".split(); //     error in std/array.d
         string list2 = "a b".split(); // cf. error here -- same as 2.067
}


In 2.067, the both reports the same -- error in the application.

--


More information about the Digitalmars-d-bugs mailing list