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

          Issue ID: 19319
           Summary: No line number when std.math is missing for x ^^ y
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nob...@puremagic.com
          Reporter: ibuc...@gdcproject.org

Something like:
---
__gshared x = 0;
auto y = 7 ^^ y;
---

Will produce the error:

Error: module `math` is in file 'std/math.d' which cannot be read
Specify path to file 'std/math.d' with -I switch


Which is not very indicative of where compilation went wrong.

See https://github.com/dlang/dmd/pull/8852

--

Reply via email to