Bug 19319 – No line number when std.math is missing for x ^^ y
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-10-20T10:40:10Z
Last change time
2018-10-26T08:26:15Z
Assigned to
No Owner
Creator
Iain Buclaw
Comments
Comment #0 by ibuclaw — 2018-10-20T10:40:10Z
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
Comment #1 by github-bugzilla — 2018-10-26T08:26:13Z