]> git.ipfire.org Git - thirdparty/vala.git/commit
vala: Check for matching ownership of type-arguments 4f5a770f20c0d13a0bee6e02af20a458aa378b1c 27/head
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 5 Apr 2018 06:22:25 +0000 (08:22 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 7 Nov 2018 15:27:44 +0000 (16:27 +0100)
commit4f5a770f20c0d13a0bee6e02af20a458aa378b1c
treedd5fad58fa0b9a3e0a05d3b4df73fc7c4a8b299a
parent10b87427a263886b0e36d5f4a297d6e079b74b6e
vala: Check for matching ownership of type-arguments

Non-boxed simple types can't be unowned and are therefore ignored.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/696
tests/Makefile.am
tests/semantic/type-argument-ownership-mismatch.test [new file with mode: 0644]
vala/valadatatype.vala