]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Don't override valid target/destroy of previous lambda argument
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 6 Apr 2021 11:00:16 +0000 (13:00 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 6 Apr 2021 11:00:16 +0000 (13:00 +0200)
commitba1231cd6770e668d6758567b3719d40808af806
tree682a5e190954346f86c4ac5580c4c378fb65dd68
parente2edf1f3d4b4fa88b3cabf591b95cd077b5ce18c
codegen: Don't override valid target/destroy of previous lambda argument

This does not enable proper support for delegates sharing a data argument,
but allows this special case.

See https://gitlab.gnome.org/GNOME/vala/issues/59
codegen/valaccodemethodcallmodule.vala
tests/delegates/lambda-shared-closure.vala