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 522353 - nullable structs are not respected
nullable structs are not respected
Status: RESOLVED DUPLICATE of bug 514864
Product: vala
Classification: Core
Component: general
0.1.x
Other All
: Normal normal
: ---
Assigned To: Jürg Billeter
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2008-03-14 02:31 UTC by Alberto Ruiz
Modified: 2008-03-14 18:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Overrinding nullable type. (1.23 KB, text/plain)
2008-03-14 02:33 UTC, Alberto Ruiz
Details

Description Alberto Ruiz 2008-03-14 02:31:48 UTC
Please describe the problem:
I'm implementing this virtual method from Gtk.CellRenderer:

set_size(Gtk.Widget a, Gdk.Rectangle? b, out int c, out int d,  out int e, out int f)
{
return;
}

The code generated does:

Gdk.Rectangle *b;
b = *_b;

whithout checking that _b is null.


Steps to reproduce:
I'll attach a test case

Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Alberto Ruiz 2008-03-14 02:33:45 UTC
Created attachment 107263 [details]
Overrinding nullable type.
Comment 2 Jürg Billeter 2008-03-14 18:53:37 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


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