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 434503 - check that void return values are not used
check that void return values are not used
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Semantic Analyzer
0.0.x
Other All
: Normal minor
: ---
Assigned To: Jürg Billeter
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2007-04-30 06:39 UTC by Jürg Billeter
Modified: 2008-10-18 14:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jürg Billeter 2007-04-30 06:39:55 UTC
Vala doesn't report an error when trying to assign the void return value of a method invocation to a variable.
Comment 1 Jürg Billeter 2007-04-30 08:48:48 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.
Comment 2 Marc-Andre Lureau 2008-10-18 14:27:49 UTC
test added in vala-tests