]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Fix instance parameter for property setter in SimpleType structs
authorNikolay Orlyuk <virkony@gmail.com>
Tue, 19 Feb 2013 00:35:29 +0000 (02:35 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 24 Feb 2017 14:08:25 +0000 (15:08 +0100)
commitf4182fc69849eb735c8dd1083bd2322071aaa79b
treea162e4f373036808644a1272396985469f5c417c
parentd1a3c5c59b7f993d6a116ebec8c55918856e215f
codegen: Fix instance parameter for property setter in SimpleType structs

Add test-case and fix code generator for call to the setter to pass
instance as a value rather than as a pointer to value.

Based on patches by Nathan Summers.

https://bugzilla.gnome.org/show_bug.cgi?id=657346
codegen/valaccodebasemodule.vala
tests/Makefile.am
tests/structs/bug694140.vala [new file with mode: 0644]