]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Initialize type parameter properties for generics earlier
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 14 Dec 2021 08:04:48 +0000 (09:04 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 14 Dec 2021 09:51:58 +0000 (10:51 +0100)
commit19135db540936e9f278d60cb8249a04c677ecd9c
treecfa1bb6548c2b9c01a106c3de28f3315fd05eb49
parentc2a531611b0f928cc022322da1dec84dd1f4b95f
codegen: Initialize type parameter properties for generics earlier

If g_object_new() is used then additionally initialize type parameter
properties with it.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/67
15 files changed:
codegen/valaccodemethodcallmodule.vala
tests/Makefile.am
tests/generics/bug640330.c-expected
tests/generics/bug694765-2.c-expected
tests/generics/constructor-chain-up.c-expected
tests/generics/member-dup-destroy.c-expected
tests/generics/property-gobject-set.c-expected [new file with mode: 0644]
tests/generics/property-gobject-set.vala [new file with mode: 0644]
tests/generics/type-parameter-properties.c-expected
tests/generics/type-parameter-property-clash.c-expected
tests/objects/bug644938.c-expected
tests/objects/bug654702.c-expected
tests/objects/bug667668.c-expected
tests/objects/interface-generics.c-expected
tests/objects/signals-generic-return.c-expected