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 528567 - dup_func should be marked as construct property
dup_func should be marked as construct property
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Code Generator
0.2.x
Other All
: Normal normal
: ---
Assigned To: Jürg Billeter
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-17 13:24 UTC by Ali Sabil
Modified: 2008-04-19 08:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Bidirectional Map test case (2.80 KB, application/x-compressed-tar)
2008-04-17 13:25 UTC, Ali Sabil
Details

Description Ali Sabil 2008-04-17 13:24:04 UTC
Please describe the problem:
the internal generic dup_func properties should be marked as construct properties.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Ali Sabil 2008-04-17 13:25:23 UTC
Created attachment 109419 [details]
Bidirectional Map test case

This test case outlines the problem when the dup_func is not available during the construct.
Comment 2 Jürg Billeter 2008-04-19 08:34:48 UTC
2008-04-19  Jürg Billeter  <j@bitron.ch>

	* gobject/valaccodeassignmentbinding.vala,
	  gobject/valaccodebinding.vala, gobject/valaccodeclassbinding.vala,
	  gobject/valaccodemethodbinding.vala:

	  Mark generic type parameter properties as construct-only,
	  fixes bug 528567

Fixed in r1265.