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 744923 - Passing {} into constructor method that takes a 2D array causes Vala to crash
Passing {} into constructor method that takes a 2D array causes Vala to crash
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Arrays
0.26.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2015-02-22 03:14 UTC by zesterer
Modified: 2018-02-18 08:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
vala: The rank of an array-initializer should match the target's rank (1.80 KB, patch)
2018-02-17 20:05 UTC, Rico Tzschichholz
committed Details | Review

Description zesterer 2015-02-22 03:14:45 UTC
It crashes with the error:

**
ERROR:valaccodearraymodule.c:1105:vala_ccode_array_module_real_get_array_length_cvalue: assertion failed: (size != null && size.size >= dim)
Comment 1 Rico Tzschichholz 2018-02-17 20:05:49 UTC
Created attachment 368486 [details] [review]
vala: The rank of an array-initializer should match the target's rank
Comment 2 Rico Tzschichholz 2018-02-18 08:35:16 UTC
Attachment 368486 [details] pushed as 30caeac - vala: The rank of an array-initializer should match the target's rank