After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665332 - GenPod %basic_types duplicate "char" key
GenPod %basic_types duplicate "char" key
Status: RESOLVED FIXED
Product: gnome-perl
Classification: Bindings
Component: Glib
unspecified
Other Linux
: Normal minor
: ---
Assigned To: gtk2-perl-bugs
gtk2-perl-bugs
Depends on:
Blocks:
 
 
Reported: 2011-12-01 20:44 UTC by Kevin Ryde
Modified: 2011-12-09 23:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kevin Ryde 2011-12-01 20:44:20 UTC
In GenPod.pm "our %basic_types" hash, there's two entries for "char" key,

	char     => 'integer',
	char     => 'string',

both under "# other C names which may sneak through".

I struck this experimenting with some automated detection of duplicate literal hash keys in perlcritic.  I suppose the last one is what results, with no ill effect, but it might be worth showing just one to avoid confusion for human readers.
Comment 1 Torsten Schoenfeld 2011-12-09 23:45:43 UTC
Indeed, looks like an oversight.  Now fixed in git.  Thanks!