GNOME Bugzilla – Bug 648184
declaration of multiple global variables results in syntax error
Last modified: 2011-04-19 13:51:01 UTC
Created attachment 186258 [details] example source code If I have in a .vala file, a line int x, y; valac complains: t.vala:1.1-1.3: error: syntax error, expected declaration but if the declaration is inside a function body it is accepted. One would be expecting the above line is a valid global variable declaration for two variables.
I think this is essentially a duplicate of bug 530030.
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 bug 530030 ***