]> git.ipfire.org Git - thirdparty/vala.git/commit
vala: Infer target_type in coalescing expressions 7850210bafcdd81f5b7a36b82766ae73f0fa0610 96/head
authorJeremy Philippe <jeremy.philippe@gmail.com>
Tue, 7 Jan 2020 21:05:57 +0000 (22:05 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 8 Jan 2020 14:01:21 +0000 (15:01 +0100)
commit7850210bafcdd81f5b7a36b82766ae73f0fa0610
tree433ac354f51153d122dc3af151793cfd83502d4d
parentce690e98c96aa610408bf23512acf93ec38990ee
vala: Infer target_type in coalescing expressions

Correctly handle reference tranfers of inner expressions.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/892
tests/Makefile.am
tests/control-flow/coalesce-reference-transfer.vala [new file with mode: 0644]
vala/valabinaryexpression.vala