]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Transfer ownership of compact class to DestroysInstance method bf8c09bf3a5e637880941ee6f59a73e934cf609e
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 9 Nov 2018 14:21:16 +0000 (15:21 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 13 Nov 2018 11:49:17 +0000 (12:49 +0100)
commitbf8c09bf3a5e637880941ee6f59a73e934cf609e
treed169c50c4263d690f1810c784ffc7595ae7b8f98
parent613210b2410577844bafdf8aff3cc8d50399a1a5
codegen: Transfer ownership of compact class to DestroysInstance method

Otherwise it is impossible to call an instance method of a compact class
which is a destructor.

See https://gitlab.gnome.org/GNOME/vala/issues/645
codegen/valaccodebasemodule.vala
tests/Makefile.am
tests/objects/compact-class-destructor.vala [new file with mode: 0644]