codegen: Fix floating reference regression with Variants
commit2190d03f6668ac2d0f20d751951413e488188d1d
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 12 Aug 2018 19:42:47 +0000 (12 21:42 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 13 Aug 2018 17:55:07 +0000 (13 19:55 +0200)
tree67bc30b827c016d7340527eb01cac72341ac6b97
parentc43c8716a8cba9789625ec7503b2d3e69404ce94
codegen: Fix floating reference regression with Variants

Let ConditionalExpression sink floating references.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/661
codegen/valaccodebasemodule.vala
tests/Makefile.am
tests/semantic/floating-reference.vala [new file with mode: 0644]
vala/valaconditionalexpression.vala