]> git.ipfire.org Git - thirdparty/vala.git/commit
codewriter: Do not write (unowned string)[] for constants
authorLuca Bruno <lucabru@src.gnome.org>
Sat, 28 Jun 2014 08:42:14 +0000 (10:42 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Sat, 28 Jun 2014 08:45:07 +0000 (10:45 +0200)
commit6c36eb4063ecb7ece8280de260c279f17139a504
tree0cbfbcb2833ac8687db5e95d1a419ac9212d5bd7
parent06001276dc0bc49e14fe2daddac7560bb41145b6
codewriter: Do not write (unowned string)[] for constants

The element type of a constant array is forced to be unowned
in the parser. Therefore we don't write (unowned string) to avoid
breaking vapi parsing uselessly with older valac versions.

Fixes bug 732080
vala/valaarraytype.vala