GNOME Bugzilla – Bug 648366
Double and long shouldn't be allowed as generic arguments
Last modified: 2016-11-30 14:03:28 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?.
*** This bug has been marked as a duplicate of bug 774713 ***