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
Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/ee14f37c1cd3cba257d04ed8ab08137d2a4f5184 fix Issue 19319 - No line number when std.math is missing for x ^^ y https://github.com/dlang/dmd/commit/b051d0ef6179d743d4511e3bb33301d2f5325d1d Merge pull request #8852 from ibuclaw/deadpow fix Issue 19319 - No line number when std.math is missing for x ^^ y