Obj-C ffigen appears to de-dup _objc_msgSend_*
usage, but not generation
#1594
Labels
Milestone
_objc_msgSend_*
usage, but not generation
#1594
I always have a scattering of unused
_objc_msgSend_###
warnings from my generated bindings. It also looks like there's some de-duping at the usage level but not the generation level for_objc_msgSend_*
. For example, I have this in theNSScriptClassDescription
generation section:_objc_msgSend_686
is unused. When I looked for_sel_classDescriptionForClass_
to see why, I found these in two different classes:They both use the identical:
from the
NSClassDescription
generation section.If over-generating and letting tree shaking handle it is intentional (to make the generator logic simpler), the file should be generated with a file-level
ignore
for that warning. But in this case since there's clearly already some kind of global de-duping happening somewhere anyway, maybe it would be easy to make that include not generating the duplicate in the first place?The text was updated successfully, but these errors were encountered: