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 648366 - Double and long shouldn't be allowed as generic arguments
Double and long shouldn't be allowed as generic arguments
Status: RESOLVED DUPLICATE of bug 774713
Product: vala
Classification: Core
Component: Code Generator
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-21 09:52 UTC by Luca Bruno
Modified: 2016-11-30 14:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luca Bruno 2011-04-21 09:52:32 UTC
Hello,
Vala casts double and long values to a pointer when used as generic arguments, but it's not guaranteed their size is the same as a pointer. Therefore vala must forbid its usage, instead force the use of boxed types double? and long?.
Comment 1 Al Thomas 2016-11-30 14:03:28 UTC

*** This bug has been marked as a duplicate of bug 774713 ***