[Issue 24375] ImportC: .di generator outputs C expression with `->` operator
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 29 08:13:36 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24375
Michael Reese <michaelate at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |michaelate at gmail.com
--- Comment #1 from Michael Reese <michaelate at gmail.com> ---
Created attachment 1916
--> https://issues.dlang.org/attachment.cgi?id=1916&action=edit
remove generation of '->' in .di files
Should '->' be generated at all in a .di file? It is not a valid D operator and
.di should contain only D code.
This patch removes output of '->' from compiler/src/dmd/hdrgen.d which fixes
the issue.
--
More information about the Digitalmars-d-bugs
mailing list