Bug 23003 – ImportC should not import object.d

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2022-04-10T09:23:58Z
Last change time
2022-04-16T17:59:44Z
Keywords
ImportC, pull, rejects-valid
Assigned to
No Owner
Creator
duser

Comments

Comment #0 by duser — 2022-04-10T09:23:58Z
int object; test.c(1): Error: variable `test.object` conflicts with import `test.object` at test.c
Comment #1 by bugzilla — 2022-04-16T05:39:18Z
The trouble is ImportC shouldn't be importing object.
Comment #2 by dlang-bot — 2022-04-16T05:51:41Z
@WalterBright created dlang/dmd pull request #13992 "fix Issue 23003 - ImportC should not import object.d" fixing this issue: - fix Issue 23003 - ImportC should not import object.d https://github.com/dlang/dmd/pull/13992
Comment #3 by dlang-bot — 2022-04-16T17:59:44Z
dlang/dmd pull request #13992 "fix Issue 23003 - ImportC should not import object.d" was merged into master: - 8fae586d1115f00fb9f8bfd5dd1782177fde9e51 by Walter Bright: fix Issue 23003 - ImportC should not import object.d https://github.com/dlang/dmd/pull/13992