[Issue 19319] New: No line number when std.math is missing for x ^^ y
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sat Oct 20 10:40:10 UTC 2018
    
    
  
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: nobody at puremagic.com
          Reporter: ibuclaw at 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
--
    
    
More information about the Digitalmars-d-bugs
mailing list