Fix Bugzilla Issue 24504 - ImportC: Enum declarations with a mixture …
…of int and uint literal values cause errors, when targeting Windows, when debug info generation is enabled.
The value of a C enum's member can be a CastExp instead of an IntegerExp, causing these calls to toInteger to emit an error.
So instead, if the value is a CastExp we make an IntegerExp out of it and go about as normal from there.
I think that it's required for 'issue' to be spelled with a capital I so that the bot can pick it up. From the unittests of dlang bot I see that the combination of 'Bugzilla issue' is not present.
Maybe dlang-bot will pick it up if another comment is made?
EDIT: It didn't
@just-harry The PR title doesn't matter. Also, comments don't matter. The only thing that is inspected by the bot is the commit message which needs to contain "Fix Bugzilla Issue 24504" (or some other combination, but this surely will work).
Still no link to the bugzilla issue...