Thanks to LethalMan on IRC this was found to be a bug in valac.

Attached is a git bundle that fixes it.  "git bundle unbundle
param-attrib.bundle" to apply it to the vala git repo for testing.

This extends Genie syntax; since EOL characters within the params list seem
to be consumed higher up in the parser this patch allows for attributes to
be inline or on a separate line from the parameter definition.  So the first
two examples above are valid.

I filed this as
https://bugzilla.gnome.org/show_bug.cgi?id=643157

Attachment: param-attrib.bundle
Description: Binary data

_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to