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 775761 - Wrong fields are used when comparing two structs
Wrong fields are used when comparing two structs
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Code Generator
0.32.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2016-12-07 16:27 UTC by Guillaume Poirier-Morency
Modified: 2016-12-08 10:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Testcase for the described bug. (79 bytes, text/x-vala)
2016-12-07 16:28 UTC, Guillaume Poirier-Morency
  Details
codegen: Reference struct fields with their actual cname (8.25 KB, patch)
2016-12-07 17:57 UTC, Rico Tzschichholz
committed Details | Review

Description Guillaume Poirier-Morency 2016-12-07 16:27:19 UTC
I'm pretty sure this happens when fields are renamed with 'cname' attributes.
Comment 1 Guillaume Poirier-Morency 2016-12-07 16:28:01 UTC
Created attachment 341565 [details]
Testcase for the described bug.
Comment 2 Rico Tzschichholz 2016-12-07 17:57:17 UTC
Created attachment 341571 [details] [review]
codegen: Reference struct fields with their actual cname
Comment 3 Rico Tzschichholz 2016-12-08 10:21:35 UTC
commit e3b9f7845a2bb2ae5b31803c07d72c89880c125c
Author: Rico Tzschichholz <ricotz@ubuntu.com>
Date:   Wed Dec 7 18:54:30 2016 +0100

    codegen: Reference struct fields with their actual cname