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 607884 - Genie does not allow methods named foreach
Genie does not allow methods named foreach
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Genie
0.7.x
Other All
: Normal major
: ---
Assigned To: Jamie McCracken
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2010-01-23 19:25 UTC by Sandino Flores-Moreno
Modified: 2010-01-26 16:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to remove 'foreach' of the genie parser (1.80 KB, patch)
2010-01-23 19:25 UTC, Sandino Flores-Moreno
none Details | Review

Description Sandino Flores-Moreno 2010-01-23 19:25:45 UTC
Created attachment 152102 [details] [review]
Patch to remove 'foreach' of the genie parser

Genie does not allow methods named foreach

methods 'foreach' are very common in glib libraries (gst_tag_list_foreach, g_thread_foreach, etc)

However, 'foreach' is not a keyword in the Genie language, so it can be safely removed from the parser.

I'm marking this bug as major since it severely reduces the usage of genie.

The attached patch is a fix.
Comment 1 Jamie McCracken 2010-01-26 16:02:29 UTC
Committed thanks